Skip to content

Commit

Permalink
Add import/extensions setting to .eslintrc.js
Browse files Browse the repository at this point in the history
Required according to this issue comment: import-js/eslint-plugin-import#2340 (comment)
  • Loading branch information
nickrttn committed May 28, 2023
1 parent b26c8d9 commit d1da92b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Expand Up @@ -9,6 +9,7 @@ module.exports = {
],
parser: '@typescript-eslint/parser',
settings: {
'import/extensions': ['.js', '.jsx', '.ts', '.tsx'],
'import/parsers': {
'@typescript-eslint/parser': ['.ts', '.tsx'],
},
Expand Down

0 comments on commit d1da92b

Please sign in to comment.