[openstreetmap/openstreetmap-website] Repo: editor help to find eslint config file (Issue #5572)

Splines notifications at github.com
Wed Jan 29 10:33:03 UTC 2025


Just to add my two cents: it's very common to have a `.vscode` in your repo if many devs use VSCode. If you don't want to see the folder locally, you can even add this to the `.vscode/settings.json`:

```ts
"files.exclude": {
  ".vscode": true,
}
```

There are so many great settings you can specify in that file.

Other than that, what I find useful many times is the amazing [just command runner](https://github.com/casey/just) that is multi-platform. If you often find yourself executing the same command in the terminal, this might be useful such that everybody can do something like `just lint js`. And in the respective recipe named `js` in the `lint.justfile`, you would then call something like this:

```js
#!/usr/bin/env bash
yarn run eslint --config ./.config/eslint.mjs --max-warnings 0
```

See all [kinds of commands](https://github.com/MaMpf-HD/mampf/tree/main/.config/commands) we use at MaMpf for various tasks like docker setup, printing ERD diagrams in Ruby, testing with cypress etc. We use [these scripts in `package.json`](https://github.com/MaMpf-HD/mampf/blob/23aae01471c4361b85e86df06e349cd8acfb735c/package.json#L27-L31) such that every dev can easily download and update their `just` version.



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

Message ID: <openstreetmap/openstreetmap-website/issues/5572/2621255610 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250129/72b73394/attachment.htm>


More information about the rails-dev mailing list