HolgerJeromin left a comment (openstreetmap/openstreetmap-website#5704)

fails with
> Error [ERR_REQUIRE_ESM]: require() of ES Module 
> /home/runner/work/openstreetmap-website/openstreetmap-website/node_modules/@stylistic/eslint-plugin-js/dist/index.js
>  from 
> /home/runner/work/openstreetmap-website/openstreetmap-website/config/eslint.js
>  not supported.
Instead change the require of index.js in 
/home/runner/work/openstreetmap-website/openstreetmap-website/config/eslint.js 
to a dynamic import() which is available in all CommonJS modules.

ref https://github.com/eslint-stylistic/eslint-stylistic/releases/tag/v4.0.0

We have eslint 9+ and flat config, so I am not sure what the problem here is... 
Perhaps even a bug in `@stylistic/eslint-plugin-js`

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5704#issuecomment-2667885346
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/pull/5704/c2667885...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to