mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-11 08:04:59 +02:00
Move a few ESLint rules where they are needed.
This commit is contained in:
@@ -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",
|
||||||
|
@@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user