Skip to content

Commit

Permalink
feat(eslint): change config for import/no-extraneous-dependencies
Browse files Browse the repository at this point in the history
Resolves #42

BREAKING CHANGE: `import/no-extraneous-dependencies` now checks internal modules and type-only
imports.
  • Loading branch information
mrmckeb committed Aug 29, 2023
1 parent 2a4bd0e commit b81ebaa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions eslint/rules/import.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ module.exports = {
*/
'import/no-extraneous-dependencies': [
'error',
// TODO: Enable this line after the next release of `eslint-plugin-import` (v2.27+)
// { includeInternal: true, includeTypes: true },
{ includeInternal: true, includeTypes: true },
],
/**
* Disallow mutable exports.
Expand Down

0 comments on commit b81ebaa

Please sign in to comment.