aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2021-01-28 11:34:20 +0200
committerGitHub <[email protected]>2021-01-28 11:34:20 +0200
commita56bf1de9fe8abc626a935cda5bb74224b05705a (patch)
treeddf8f0aa5ad99fc9ef2dfedd937a08034ddc8eff
parente06ffa288fd4b664d1b539a3249eaccf196c652a (diff)
downloadbootstrap-a56bf1de9fe8abc626a935cda5bb74224b05705a.tar.xz
bootstrap-a56bf1de9fe8abc626a935cda5bb74224b05705a.zip
Minor ESLint rules cleanup (#32904)
-rw-r--r--.eslintrc.json2
-rw-r--r--js/tests/unit/.eslintrc.json14
2 files changed, 3 insertions, 13 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 9f77a3f5a..049c73667 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -36,7 +36,6 @@
"error",
"always"
],
- "prefer-named-capture-group": "off",
"semi": [
"error",
"never"
@@ -52,7 +51,6 @@
"unicorn/prefer-dom-node-append": "off",
"unicorn/prefer-dom-node-dataset": "off",
"unicorn/prefer-dom-node-remove": "off",
- "unicorn/prefer-optional-catch-binding": "off",
"unicorn/prefer-query-selector": "off",
"unicorn/prefer-spread": "off",
"unicorn/prevent-abbreviations": "off"
diff --git a/js/tests/unit/.eslintrc.json b/js/tests/unit/.eslintrc.json
index e7f8d5d2a..adde3105d 100644
--- a/js/tests/unit/.eslintrc.json
+++ b/js/tests/unit/.eslintrc.json
@@ -1,16 +1,8 @@
{
- "root": true,
"extends": [
"../../../.eslintrc.json"
],
- "overrides": [
- {
- "files": [
- "**/*.spec.js"
- ],
- "env": {
- "jasmine": true
- }
- }
- ]
+ "env": {
+ "jasmine": true
+ }
}