Commit graph

14 commits

Author SHA1 Message Date
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
Tom Hughes
08359d8d5f Merge remote-tracking branch 'upstream/pull/5613' 2025-02-06 17:41:46 +00:00
Holger Jeromin
49b65a09dd Change eslint no-implicit-globals rule to error 2025-02-06 09:22:40 +01:00
Holger Jeromin
eee793f5e6 change eslint rule no-alert to error 2025-02-06 08:35:50 +01:00
Tom Hughes
4c3fb2c2b5 Merge remote-tracking branch 'upstream/pull/5612' 2025-02-05 18:26:32 +00:00
Andy Allan
6142d8b8fe
Merge pull request #5559 from hlfan/eslint-plugin-erb
Add eslint-plugin-erb to provide linting of .js.erb files
2025-02-05 17:07:50 +00:00
Holger Jeromin
5b1be7a79b Replace deprecated eslint rules
no-new-object => no-object-constructor
no-process-env => will be catched by no-undef
2025-02-05 18:01:13 +01:00
Andy Allan
d62caf5fe2
Merge pull request #5606 from AntonKhorev/no-eslint-qs
Remove Qs from eslint globals
2025-02-05 16:41:19 +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
Holger Jeromin
e838e9528c Move deprecated eslint rules to stylistic plugin 2025-02-05 15:47:11 +01:00
Anton Khorev
a1029ed1d3 Remove Qs from eslint globals 2025-02-04 19:49:28 +03:00
Tom Hughes
70afbd09d6 Bump allowed ECMAScript version to 2021 (ES12) 2025-01-16 19:08:51 +00:00
Emin Kocan
40c71f28be Enable eslint and fix eslint errors for osm_test.js 2024-10-12 21:02:10 +02:00
Tom Hughes
938037d6a2 Update eslint to v9 2024-04-07 12:13:06 +01:00