Skip to content

Commit db92e29

Browse files
molantalrra
authored andcommitted
Chore: Disable ESLint rule no-redeclare
There are issues with this rule and `typescript-eslint-parser` `v20.1.0` and later¹. Because `var` is not used through the code, this rule can be safely disabled, avoid the false positives and stil use the latest version of the parser. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ¹ eslint/typescript-eslint-parser#535 Fix #1468
1 parent 170ddb8 commit db92e29

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.eslintrc.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@
8181
"no-buffer-constructor": "error",
8282
"no-caller": "error",
8383
"no-case-declarations": "error",
84-
"no-shadow": "error",
8584
"no-cond-assign": "error",
8685
"no-confusing-arrow": "error",
8786
"no-console": "off",
@@ -152,7 +151,7 @@
152151
"no-process-env": "error",
153152
"no-process-exit": "error",
154153
"no-prototype-builtins": "off",
155-
"no-redeclare": "error",
154+
"no-redeclare": "off",
156155
"no-regex-spaces": "error",
157156
"no-restricted-globals": "error",
158157
"no-restricted-modules": "error",

0 commit comments

Comments
 (0)