Skip to content

Commit

Permalink
Chore: Disable ESLint rule no-redeclare
Browse files Browse the repository at this point in the history
There are issues with this rule and `typescript-eslint-parser` `v20.1.0`
and later
(eslint/typescript-eslint-parser#535). 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.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Fix: #1468
  • Loading branch information
molant committed Nov 2, 2018
1 parent 8499d5c commit c08de3c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@
"no-buffer-constructor": "error",
"no-caller": "error",
"no-case-declarations": "error",
"no-shadow": "error",
"no-cond-assign": "error",
"no-confusing-arrow": "error",
"no-console": "off",
Expand Down Expand Up @@ -152,7 +151,7 @@
"no-process-env": "error",
"no-process-exit": "error",
"no-prototype-builtins": "off",
"no-redeclare": "error",
"no-redeclare": "off",
"no-regex-spaces": "error",
"no-restricted-globals": "error",
"no-restricted-modules": "error",
Expand Down

0 comments on commit c08de3c

Please sign in to comment.