Skip to content

Commit

Permalink
fixes no-shadow for typescript; adds no-inferrable-types
Browse files Browse the repository at this point in the history
  • Loading branch information
bozdoz committed May 7, 2021
1 parent 9f48776 commit 97154fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ module.exports = {
],
curly: [2, 'multi-line'],
'jsx-quotes': 1,
'no-shadow': 1,
'no-shadow': 0,
'@typescript-eslint/no-shadow': 2,
'no-trailing-spaces': 1,
'no-underscore-dangle': 1,
'@typescript-eslint/no-unused-expressions': 1,
Expand All @@ -38,6 +39,7 @@ module.exports = {
'react/self-closing-comp': 1,
'react/sort-prop-types': 1,
'@typescript-eslint/semi': 2,
'@typescript-eslint/no-inferrable-types': 2,
strict: 0,
},
settings: {
Expand Down

0 comments on commit 97154fa

Please sign in to comment.