Force only big objects in eslint configuration to be sorted
This commit is contained in:
parent
6edb8dae05
commit
22a37fdf1d
1 changed files with 3 additions and 2 deletions
|
@ -1,3 +1,5 @@
|
|||
/* eslint sort-keys: ["error", "asc", {minKeys: 5}] */
|
||||
|
||||
const globals = require("globals");
|
||||
const js = require("@eslint/js");
|
||||
const erb = require("eslint-plugin-erb");
|
||||
|
@ -27,8 +29,8 @@ module.exports = [
|
|||
Cookies: "readonly",
|
||||
I18n: "readonly",
|
||||
L: "readonly",
|
||||
OSM: "writable",
|
||||
Matomo: "readonly",
|
||||
OSM: "writable",
|
||||
Turbo: "readonly",
|
||||
updateLinks: "readonly"
|
||||
}
|
||||
|
@ -43,7 +45,6 @@ module.exports = [
|
|||
reportUnusedDisableDirectives: "off"
|
||||
},
|
||||
rules: {
|
||||
/* eslint sort-keys: ["warn"] */
|
||||
"@stylistic/array-bracket-newline": ["error", "consistent"],
|
||||
"@stylistic/array-bracket-spacing": "error",
|
||||
"@stylistic/block-spacing": "error",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue