Skip to content

Commit a56bf1d

Browse files
authored
Minor ESLint rules cleanup (twbs#32904)
1 parent e06ffa2 commit a56bf1d

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

.eslintrc.json

-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
"error",
3737
"always"
3838
],
39-
"prefer-named-capture-group": "off",
4039
"semi": [
4140
"error",
4241
"never"
@@ -52,7 +51,6 @@
5251
"unicorn/prefer-dom-node-append": "off",
5352
"unicorn/prefer-dom-node-dataset": "off",
5453
"unicorn/prefer-dom-node-remove": "off",
55-
"unicorn/prefer-optional-catch-binding": "off",
5654
"unicorn/prefer-query-selector": "off",
5755
"unicorn/prefer-spread": "off",
5856
"unicorn/prevent-abbreviations": "off"

js/tests/unit/.eslintrc.json

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
11
{
2-
"root": true,
32
"extends": [
43
"../../../.eslintrc.json"
54
],
6-
"overrides": [
7-
{
8-
"files": [
9-
"**/*.spec.js"
10-
],
11-
"env": {
12-
"jasmine": true
13-
}
14-
}
15-
]
5+
"env": {
6+
"jasmine": true
7+
}
168
}

0 commit comments

Comments
 (0)