Skip to content

Commit

Permalink
feat: add 'import/no-extraneous-dependencies' rule
Browse files Browse the repository at this point in the history
  • Loading branch information
axtk committed Sep 3, 2023
1 parent e0fe4df commit edad7d6
Show file tree
Hide file tree
Showing 3 changed files with 238 additions and 634 deletions.
8 changes: 8 additions & 0 deletions base.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ module.exports = {
warnOnUnassignedImports: true,
},
],
'import/no-extraneous-dependencies': ERROR,
},
overrides: [
{
Expand Down Expand Up @@ -226,6 +227,13 @@ module.exports = {
},
},
],

'import/no-extraneous-dependencies': [
ERROR,
{
includeTypes: true,
},
],
},
},
],
Expand Down
Loading

0 comments on commit edad7d6

Please sign in to comment.