0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

Move a few ESLint rules where they are needed.

This commit is contained in:
XhmikosR 2021-08-26 19:33:26 +03:00
parent 4a4b61f082
commit c02805bb8c
2 changed files with 5 additions and 2 deletions

View File

@ -49,7 +49,6 @@
"error", "error",
"never" "never"
], ],
"unicorn/consistent-function-scoping": "off",
"unicorn/explicit-length-check": "off", "unicorn/explicit-length-check": "off",
"unicorn/no-array-callback-reference": "off", "unicorn/no-array-callback-reference": "off",
"unicorn/no-array-for-each": "off", "unicorn/no-array-for-each": "off",
@ -57,7 +56,6 @@
"unicorn/no-for-loop": "off", "unicorn/no-for-loop": "off",
"unicorn/no-null": "off", "unicorn/no-null": "off",
"unicorn/no-unused-properties": "error", "unicorn/no-unused-properties": "error",
"unicorn/no-useless-undefined": "off",
"unicorn/numeric-separators-style": "off", "unicorn/numeric-separators-style": "off",
"unicorn/prefer-array-flat": "off", "unicorn/prefer-array-flat": "off",
"unicorn/prefer-dom-node-dataset": "off", "unicorn/prefer-dom-node-dataset": "off",

View File

@ -4,5 +4,10 @@
], ],
"env": { "env": {
"jasmine": true "jasmine": true
},
"rules": {
"unicorn/consistent-function-scoping": "off",
"unicorn/no-useless-undefined": "off",
"unicorn/prefer-add-event-listener": "off"
} }
} }