0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-30 22:52:24 +01: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:
XhmikosR 2020-05-04 19:32:09 +03:00 committed by GitHub
parent 9e8d6ba3f8
commit 37f2c04c5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View File

@ -8,6 +8,7 @@
}, },
"extends": "../.eslintrc.json", "extends": "../.eslintrc.json",
"rules": { "rules": {
"no-console": "off" "no-console": "off",
"strict": "error"
} }
} }

View File

@ -5,7 +5,9 @@
], ],
"overrides": [ "overrides": [
{ {
"files": ["**/*.spec.js"], "files": [
"**/*.spec.js"
],
"env": { "env": {
"jasmine": true "jasmine": true
} }

View File

@ -33,7 +33,6 @@
"never" "never"
], ],
"strict": "error", "strict": "error",
"unicorn/consistent-function-scoping": "off",
"unicorn/no-for-loop": "off", "unicorn/no-for-loop": "off",
"unicorn/no-null": "off", "unicorn/no-null": "off",
"unicorn/prefer-dataset": "off", "unicorn/prefer-dataset": "off",