Skip to content

Commit

Permalink
chore: enable no-duplicate-imports
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Jan 20, 2024
1 parent 79a22de commit dbe1b40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ module.exports = {
'no-debugger': 'error',
'no-console': ['error', { allow: ['warn', 'error', 'info', 'clear'] }],
'sort-imports': ['error', { ignoreDeclarationSort: true }],
'no-duplicate-imports': 'error',

// This rule enforces the preference for using '@ts-expect-error' comments in TypeScript
// code to indicate intentional type errors, improving code clarity and maintainability.
Expand Down

0 comments on commit dbe1b40

Please sign in to comment.