Skip to content

Commit

Permalink
remove deprecated rule
Browse files Browse the repository at this point in the history
  • Loading branch information
wakamsha committed Mar 6, 2024
1 parent 0f523a9 commit 12d89d0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions rules/imports.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ module.exports = {

// No Node.js builtin modules
// https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-nodejs-modules.md
// TODO: enable?
'import/no-nodejs-modules': ['off'],

/*
Expand All @@ -117,12 +116,6 @@ module.exports = {
// https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/first.md
'import/first': ['error'],

// disallow non-import statements appearing before import statements
// https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/imports-first.md
// deprecated: use `import/first`
// TODO: Remove this rule.
'import/imports-first': ['off'],

// disallow duplicate imports
// https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-duplicates.md
'import/no-duplicates': ['error'],
Expand Down

0 comments on commit 12d89d0

Please sign in to comment.