[openstreetmap/openstreetmap-website] Repo: editor help to find eslint config file (Issue #5572)
Andy Allan
notifications at github.com
Wed Jan 29 11:20:53 UTC 2025
> move config/eslint.js to root folder eslint.config.cjs
>
> pro: works with every editor (?) without config
> con: pollutes root folder
This one gets my vote. Having it work by default, for most developers, without making IDE-specific assumptions.
I think that if we need to specify anything in the root level (file, hidden file, folder, hidden folder) they are all just as polluting as each other - most IDEs, and the github UI, will show them hidden or not. So I treat "eslint.config.cjs" and ".vscode/settings.json" equally. And since one of those is IDE-specific, I'd prefer the other.
> I would like to do a poll which editors are used by the main developers.
[VSCodium](https://github.com/VSCodium/vscodium/)
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5572#issuecomment-2621369394
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/5572/2621369394 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250129/ef8b282f/attachment.htm>
More information about the rails-dev
mailing list