Skip to content

Commit

Permalink
Disable the no-duplicate-imports rule
Browse files Browse the repository at this point in the history
Use `import/no-duplicates` instead.
  • Loading branch information
amikheychik committed Dec 31, 2023
1 parent 46bca95 commit 9d2a404
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/rules/eslint/possible-problems.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ export = {
'no-dupe-else-if': 'error',
'no-dupe-keys': 'error',
'no-duplicate-case': 'error',
'no-duplicate-imports': ['error', {
// Use `import/no-duplicates`.
'no-duplicate-imports': ['off', {
includeExports: true,
}],
'no-empty-character-class': 'error',
Expand Down
1 change: 0 additions & 1 deletion src/rules/typescript-eslint/extension-rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ export = {
'@typescript-eslint/no-array-constructor': 'warn',
'no-dupe-class-members': 'off',
'@typescript-eslint/no-dupe-class-members': 'error',
'no-duplicate-imports': 'off',
'no-empty-function': 'off',
'@typescript-eslint/no-empty-function': ['error', {
allow: ['protected-constructors', 'private-constructors'],
Expand Down

0 comments on commit 9d2a404

Please sign in to comment.