Skip to content

Commit

Permalink
chore: configure eslint-import-resolver-typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
bxt committed May 10, 2022
1 parent dd56711 commit a948d41
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module.exports = {
'plugin:@typescript-eslint/recommended', // Uses the recommended rules from the @typescript-eslint/eslint-plugin
'prettier', // Uses eslint-config-prettier to disable ESLint rules from @typescript-eslint/eslint-plugin that would conflict with prettier
'plugin:prettier/recommended',
'plugin:import/typescript',
],
plugins: ['@typescript-eslint', 'prettier', 'import'],
parser: '@typescript-eslint/parser',
Expand Down Expand Up @@ -88,4 +89,9 @@ module.exports = {
rules: { 'import/no-extraneous-dependencies': ['off'] },
},
],
settings: {
'import/resolver': {
typescript: {},
},
},
};

0 comments on commit a948d41

Please sign in to comment.