[openstreetmap/openstreetmap-website] Add eslint-plugin-erb to provide linting of .js.erb files (PR #5559)

Marwin Hochfelsner notifications at github.com
Wed Feb 5 16:27:20 UTC 2025


@hlfan commented on this pull request.



>      "eslint": "^9.0.0",
+    "eslint-plugin-erb": "^2.1.0",
     "@stylistic/eslint-plugin-js": "^3.0.0",
     "eslint-formatter-compact": "^8.40.0"

How should we sort the plugins? (also @HolgerJeromin)
If we go semantically alphabetic, 
* eslint,
* eslint plugin erb,
* eslint plugin stylistic js,
* eslint formatter compact,

the formatter should be moved up.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5559#pullrequestreview-2596338126
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5559/review/2596338126 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250205/455ab5ba/attachment.htm>


More information about the rails-dev mailing list