[openstreetmap/openstreetmap-website] Fix remaining key ordering issues in eslint configuration (PR #5647)

Holger Jeromin notifications at github.com
Tue Feb 11 08:00:17 UTC 2025


@HolgerJeromin commented on this pull request.



>        globals: {
         ...globals.commonjs
-      }
+      },
+      sourceType: "commonjs"
     }

Ah, I see. We can [ignore some rules in some lines](https://eslint.org/docs/latest/use/configure/rules#disabling-rules) with eslint. But not activate a rule within a range.
So yes, current master warns, so resorting properties is probably the best thing we can do, if we want to force the rules to be sorted...

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

Message ID: <openstreetmap/openstreetmap-website/pull/5647/review/2607946158 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250211/c0c64b32/attachment.htm>


More information about the rails-dev mailing list