Skip to content

Commit eaa92ac

Browse files
fix: add ts version of rule no-redeclare
1 parent 5cc95bf commit eaa92ac

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/configs/typescript.ts

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const baseConfig: Linter.Config = {
1616
"no-extra-parens": "off",
1717
"no-loop-func": "off",
1818
"no-loss-of-precision": "off",
19+
"no-redeclare": "off",
1920
"no-shadow": "off",
2021
"no-unused-expressions": "off",
2122
"no-unused-vars": "off",

src/plugins/typescript.ts

+1
Original file line numberDiff line numberDiff line change
@@ -221,5 +221,6 @@ export const settings: Linter.Config = {
221221
},
222222
],
223223
"@typescript-eslint/unified-signatures": "warn",
224+
"@typescript-eslint/no-redeclare": "error",
224225
},
225226
};

0 commit comments

Comments
 (0)