Skip to content

Commit 5194d08

Browse files
committed
chore: fix no-shadow rule for Typescript
1 parent 3b342f4 commit 5194d08

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.eslintrc.cjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ module.exports = {
5050
plugins: ['@typescript-eslint'],
5151
extends: ['plugin:@typescript-eslint/recommended'],
5252
rules: {
53+
'no-shadow': 'off',
54+
'@typescript-eslint/no-shadow': 'error',
5355
'@typescript-eslint/array-type': ['error', { default: 'array-simple' }],
5456
'@typescript-eslint/ban-ts-comment': 'off',
5557
'@typescript-eslint/consistent-type-imports': 'error',

0 commit comments

Comments
 (0)