mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Clean up lint rules (#30721)
* Remove unneeded rule suppression * Format tests/unit/.eslintrc.json * build/.eslintrc.json: add strict for consistency
This commit is contained in:
parent
9e8d6ba3f8
commit
37f2c04c5f
3 changed files with 5 additions and 3 deletions
|
@ -8,6 +8,7 @@
|
|||
},
|
||||
"extends": "../.eslintrc.json",
|
||||
"rules": {
|
||||
"no-console": "off"
|
||||
"no-console": "off",
|
||||
"strict": "error"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,7 +5,9 @@
|
|||
],
|
||||
"overrides": [
|
||||
{
|
||||
"files": ["**/*.spec.js"],
|
||||
"files": [
|
||||
"**/*.spec.js"
|
||||
],
|
||||
"env": {
|
||||
"jasmine": true
|
||||
}
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
"never"
|
||||
],
|
||||
"strict": "error",
|
||||
"unicorn/consistent-function-scoping": "off",
|
||||
"unicorn/no-for-loop": "off",
|
||||
"unicorn/no-null": "off",
|
||||
"unicorn/prefer-dataset": "off",
|
||||
|
|
Loading…
Reference in a new issue