Skip to content

Commit

Permalink
fix typescript configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
shaharmor committed Dec 31, 2020
1 parent 71d3c0b commit 1aa24da
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,13 @@ module.exports = {
},
settings: {
'import/parsers': {
'@typescript-eslint/parser': ['.ts', '.tsx']
},
'typescript': {
'alwaysTryTypes': true
// '@typescript-eslint/parser': ['.ts', '.tsx'] // already configured in parserOptions.parser
},
'import/resolver': {
'typescript': {
'alwaysTryTypes': true
},
}
},
reportUnusedDisableDirectives: true,
rules: {
Expand Down

0 comments on commit 1aa24da

Please sign in to comment.