Commit graph

10 commits

Author SHA1 Message Date
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