Skip to content

Commit b184590

Browse files
committed
Add no-redeclare
Closes #18
1 parent a71e849 commit b184590

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ module.exports = {
4343
'@typescript-eslint/no-dynamic-delete': 'error',
4444

4545
// https://github.com/typescript-eslint/typescript-eslint/blob/v4.0.1/packages/eslint-plugin/docs/rules/prefer-enum-initializers.md
46+
47+
// no-redeclare - note you must disable the base rule as it can report incorrect errors
48+
// https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-redeclare.md
49+
"no-redeclare": "off",
50+
"@typescript-eslint/no-redeclare": ["error"],
51+
4652
'@typescript-eslint/prefer-enum-initializers': 'error',
4753

4854
// no-array-constructor - note you must disable the base rule as it can report incorrect errors

0 commit comments

Comments
 (0)