Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6085d0b

Browse files
invalid value fix for typescript no-shadow rule
1 parent ecc3f02 commit 6085d0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/configs/typescript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module.exports = {
66
camelcase: 'off',
77
'no-unused-vars': 'off',
88
'no-shadow': 'off',
9-
'@typescript-eslint/no-shadow': 'on',
9+
'@typescript-eslint/no-shadow': ['error'],
1010
'@typescript-eslint/interface-name-prefix': 'off',
1111
'@typescript-eslint/array-type': ['error', {default: 'array-simple'}],
1212
'@typescript-eslint/no-use-before-define': 'off',

0 commit comments

Comments
 (0)