[openstreetmap/openstreetmap-website] Move eslint ignore rules to the configuration file (PR #5640)

Tom Hughes notifications at github.com
Sun Feb 9 19:39:51 UTC 2025


Following on from @AntonKhorev's observation in #5631 this moves eslint ignore rules to the configuration.

Instead of having the rake task select which files to check, we just check the whole tree and have eslint ignore third party files and generated files that we don't control.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5640

-- Commit Summary --

  * Move eslint ignore rules to the configuration file

-- File Changes --

    M config/eslint.js (8)
    M lib/tasks/eslint.rake (10)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5640.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5640.diff

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

Message ID: <openstreetmap/openstreetmap-website/pull/5640 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250209/a4986751/attachment.htm>


More information about the rails-dev mailing list