Skip to content

Commit 7e6ca3b

Browse files
committed
fix(eslint): add rule to enforce no missing imports in ESLint configuration
1 parent d1056b7 commit 7e6ca3b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eslint.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export default [
4040
// disabled due this rule not support workspaces
4141
// reference: https://github.com/eslint-community/eslint-plugin-n/issues/209
4242
'n/no-extraneous-import': ['off'],
43+
'n/no-missing-import': ['error', { ignoreTypeImport: true }],
4344

4445
'yml/indent': ['error', 3, { indicatorValueIndent: 2 }],
4546
'yml/quotes': ['error', { prefer: 'double' }]

0 commit comments

Comments
 (0)