Skip to content

Commit c072aca

Browse files
committed
Update .eslintrc
1 parent bec313e commit c072aca

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.eslintrc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"globals": {
1313
"globalThis": false
1414
},
15+
"reportUnusedDisableDirectives": true,
1516
"rules": {
1617
"class-methods-use-this": "off",
1718
"consistent-return": "off",
@@ -30,7 +31,7 @@
3031
"no-object-constructor": "error",
3132
"no-param-reassign": "off",
3233
"no-plusplus": "off",
33-
"no-restricted-syntax": "off",
34+
"no-restricted-syntax": ["error", "LabeledStatement", "WithStatement"],
3435
"no-return-assign": "off",
3536
"no-shadow": "off",
3637
"no-throw-literal": "off",
@@ -42,7 +43,6 @@
4243
"prefer-rest-params": "off",
4344
"prefer-promise-reject-errors": "off",
4445
"import/extensions": ["error", "always"],
45-
"import/no-cycle": "off",
4646
"import/no-extraneous-dependencies": "off",
4747
"import/prefer-default-export": "off"
4848
},
@@ -53,6 +53,7 @@
5353
"rules": {
5454
"@typescript-eslint/no-shadow": "off",
5555
"@typescript-eslint/no-unused-expressions": "off",
56+
"@typescript-eslint/no-use-before-define": "off",
5657
"import/extensions": ["error", "always"],
5758
"import/no-cycle": "off"
5859
}

0 commit comments

Comments
 (0)