Skip to content

Commit

Permalink
[Patch] TypeScript config: disable import/no-unresolved
Browse files Browse the repository at this point in the history
  • Loading branch information
jablko committed Sep 3, 2021
1 parent a032b83 commit 2f20877
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/typescript.js
Expand Up @@ -10,7 +10,7 @@ module.exports = {
'import/extensions': allExtensions,
'import/external-module-folders': ['node_modules', 'node_modules/@types'],
'import/parsers': {
'@typescript-eslint/parser': ['.ts', '.tsx', '.d.ts'],
'@typescript-eslint/parser': ['.ts', '.tsx'],
},
'import/resolver': {
'node': {
Expand All @@ -24,5 +24,6 @@ module.exports = {

// TypeScript compilation already ensures that named imports exist in the referenced module
'import/named': 'off',
'import/no-unresolved': 'off',
},
};

0 comments on commit 2f20877

Please sign in to comment.