[openstreetmap/openstreetmap-website] Repo: editor help to find eslint config file (Issue #5572)
Holger Jeromin
notifications at github.com
Wed Jan 29 08:23:36 UTC 2025
In #5557 I added a visual studio code workspace file in the `config` folder.
This file can contain settings but also other stuff.
We have different possibilities:
## move `config/eslint.js` to root folder `eslint.config.cjs`
pro: works with every editor (?) without config
con: pollutes root folder
## No editor specific config
con: no eslint (because of the unusual eslint config path)
## settings file in `.vscode/settings.json`
pro: works with vsc without config
con: pollutes root folder with the folder `.vscode`
## workspace file in root folder `openstreetmap-website.code-workspace`
pro: vsc ask it should open workspace instead of folder
con: pollutes root folder with the file
## workspace file in config folder `config/openstreetmap-website.code-workspace` (as in PR right now)
pro: root folder is not polluted
con: vsc users needs to find the file and open manually
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5572
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/5572 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250129/302c046a/attachment.htm>
More information about the rails-dev
mailing list