Skip to content

Commit

Permalink
Ignore type imports in max-dependencies rules
Browse files Browse the repository at this point in the history
  • Loading branch information
screendriver committed Dec 25, 2023
1 parent 3b81fa1 commit a4a52cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configs/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ export const baseConfig = {
'import/prefer-default-export': 'off',
'import/newline-after-import': 'error',
'import/no-nodejs-modules': 'off',
'import/max-dependencies': ['error', { max: 8 }],
'import/max-dependencies': ['error', { max: 8, ignoreTypeImports: true }],
'import/first': 'error',
'import/no-unused-modules': 'error',
'import/no-anonymous-default-export': 'off',
Expand Down

0 comments on commit a4a52cd

Please sign in to comment.