Skip to content

Commit 2f20877

Browse files
committed
[Patch] TypeScript config: disable import/no-unresolved
1 parent a032b83 commit 2f20877

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config/typescript.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = {
1010
'import/extensions': allExtensions,
1111
'import/external-module-folders': ['node_modules', 'node_modules/@types'],
1212
'import/parsers': {
13-
'@typescript-eslint/parser': ['.ts', '.tsx', '.d.ts'],
13+
'@typescript-eslint/parser': ['.ts', '.tsx'],
1414
},
1515
'import/resolver': {
1616
'node': {
@@ -24,5 +24,6 @@ module.exports = {
2424

2525
// TypeScript compilation already ensures that named imports exist in the referenced module
2626
'import/named': 'off',
27+
'import/no-unresolved': 'off',
2728
},
2829
};

0 commit comments

Comments
 (0)