Skip to content

Commit 97154fa

Browse files
author
bozdoz
committed
fixes no-shadow for typescript; adds no-inferrable-types
1 parent 9f48776 commit 97154fa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.eslintrc.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ module.exports = {
2020
],
2121
curly: [2, 'multi-line'],
2222
'jsx-quotes': 1,
23-
'no-shadow': 1,
23+
'no-shadow': 0,
24+
'@typescript-eslint/no-shadow': 2,
2425
'no-trailing-spaces': 1,
2526
'no-underscore-dangle': 1,
2627
'@typescript-eslint/no-unused-expressions': 1,
@@ -38,6 +39,7 @@ module.exports = {
3839
'react/self-closing-comp': 1,
3940
'react/sort-prop-types': 1,
4041
'@typescript-eslint/semi': 2,
42+
'@typescript-eslint/no-inferrable-types': 2,
4143
strict: 0,
4244
},
4345
settings: {

0 commit comments

Comments
 (0)