[openstreetmap/openstreetmap-website] Migrate eslint config to esmodules (PR #5707)
Tom Hughes
notifications at github.com
Wed Feb 19 11:08:58 UTC 2025
tomhughes left a comment (openstreetmap/openstreetmap-website#5707)
Is this actually working?
According to https://eslint.style/guide/migration#approach-2-migrate-to-1-to-1-plugins if you only import the `@stylistic/eslint-plugin-js` module then you need to use `@stylistic/js/...` for the rules but we aren't?
If you go with https://eslint.style/guide/migration#approach-1-migrate-to-single-plugin and import `@stylistic/eslint-plugin` then you can drop the `/js/` from the rule names?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5707#issuecomment-2668317929
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5707/c2668317929 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250219/5b7685e0/attachment.htm>
More information about the rails-dev
mailing list