Skip to content

Commit

Permalink
fix: remove deprecated @typescript-eslint/no-duplicate-imports
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Sep 19, 2023
1 parent b270004 commit 0df79a1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion compare/compare.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const createIncompatibleRuleSummary = (
// The order is important!
// The last ruleset overrides rules in previous rulesets.
// This affects rules that are overridden in specific configs, e.g.
// typescript disabled no-duplicate-imports but enables @typescript-eslint/no-duplicate-imports.
// typescript disabled no-duplicate-imports but enables @import/no-duplicates.
'canonical',
],
});
Expand Down
1 change: 0 additions & 1 deletion configurations/typescript-compatibility.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ module.exports = {
'@typescript-eslint/lines-between-class-members': [2, 'always'],
'@typescript-eslint/no-array-constructor': 2,
'@typescript-eslint/no-dupe-class-members': 2,
'@typescript-eslint/no-duplicate-imports': 0,
'@typescript-eslint/no-extra-parens': 2,
'@typescript-eslint/no-extra-semi': 2,

Expand Down
1 change: 0 additions & 1 deletion configurations/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ module.exports = {
},
],
'@typescript-eslint/no-confusing-non-null-assertion': 2,
'@typescript-eslint/no-duplicate-imports': 2,
'@typescript-eslint/no-dynamic-delete': 2,
'@typescript-eslint/no-empty-function': 0,
'@typescript-eslint/no-empty-interface': [
Expand Down

0 comments on commit 0df79a1

Please sign in to comment.