Skip to content
This repository has been archived by the owner on Feb 11, 2025. It is now read-only.

Commit

Permalink
feat(eslint): enable import/no-extraneous-dependencies
Browse files Browse the repository at this point in the history
Resolves #37
  • Loading branch information
mrmckeb committed Sep 21, 2022
1 parent 47f3a03 commit bcf1289
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions eslint/rules/import.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@ module.exports = {
* 🚫 Not fixable - https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-default-export.md
*/
'import/no-default-export': 'error',
/**
* Disallow the use of extraneous packages.
*
* 🚫 Not fixable - https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-extraneous-dependencies.md
*/
'import/no-extraneous-dependencies': [
'error',
// TODO: Enable this line after the next release of `eslint-plugin-import` (v2.27+)
// { includeInternal: true, includeTypes: true },
],
/**
* Disallow mutable exports.
*
Expand Down

0 comments on commit bcf1289

Please sign in to comment.