Commit graph

8 commits

Author SHA1 Message Date
Holger Jeromin
0f76726392 Migrate eslint config to esmodules
And upgrade `@stylistic/eslint-plugin-js` to `4.0.x`

closes #5704
2025-02-19 09:54:07 +01:00
Tom Hughes
275228dec7 Move eslint ignore rules to the configuration file
Instead of having the rake task select which files to check, just
check the whole tree and have eslint ignore third party files and
generated files that we don't control.
2025-02-09 19:38:47 +00:00
Marwin Hochfelsner
bc18e85d5c Add eslint-plugin-erb for .js.erb file linting
* Add eslint-plugin-erb to provide linting of our .js.erb files
* Lint osm.js.erb and API-ify OSM.params()
---------
Co-authored-by: Andy Allan <git@gravitystorm.co.uk>
2025-02-05 17:00:38 +01:00
Tom Hughes
938037d6a2 Update eslint to v9 2024-04-07 12:13:06 +01:00
Tom Hughes
6db5b2e6f3 Fix rubocop Rake/MethodDefinitionInTask warnings 2021-05-13 19:28:26 +01:00
Tom Hughes
57f5b7840e Fix rubocop warnings 2019-12-04 19:31:53 +00:00
Tom Hughes
8072a82f1d Exclude node_modules form eslint checks 2019-10-22 20:37:39 +01:00
Tom Hughes
d67b057851 Replace eslint-rails-ee with direct calls to eslint 2019-06-12 19:27:58 +01:00