[openstreetmap/openstreetmap-website] Fix remaining key ordering issues in eslint configuration (PR #5647)
    Marwin Hochfelsner 
    notifications at github.com
       
    Tue Feb 11 09:13:28 UTC 2025
    
    
  
@hlfan commented on this pull request.
>        globals: {
         ...globals.commonjs
-      }
+      },
+      sourceType: "commonjs"
     }
I just stumbled over something I didn't see when introducing this rule!
With `eslint sort-keys: ["error", "asc", {minKeys: 40}]` only the long rule list will get flagged for being unsorted, and the current 10 - 97 key count difference is also quite forgiving.
-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5647#discussion_r1950479343
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5647/review/2608103858 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250211/0a8f0bd0/attachment.htm>
    
    
More information about the rails-dev
mailing list