[openstreetmap/openstreetmap-website] Add linting for .js.erb files (Issue #5523)
Splines
notifications at github.com
Sat Jan 25 20:45:35 UTC 2025
> Most stylistic rules are now removed from eslint because most use a formatter like prettier.io
@HolgerJeromin Formatting rules have indeed been [deprecated](https://github.com/eslint/eslint/issues/17522) in the _core_ of ESLint. But mainly because of ongoing maintenance cost. Luckily, antfu was willing [to set up a community-driven ESLint Stylistic repo](https://github.com/eslint-stylistic/eslint-stylistic) to continue maintaining those rules with a great community. Look at [their website](https://eslint.style/), it works really fine for us, even for our large [MaMpf codebase](https://github.com/MaMpf-HD/mampf/blob/23aae01471c4361b85e86df06e349cd8acfb735c/.config/eslint.mjs#L130-L138). See also their [Why?](https://eslint.style/guide/why), which talks about Prettier as well.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5523#issuecomment-2614094287
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/5523/2614094287 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250125/3aab2ee0/attachment.htm>
More information about the rails-dev
mailing list