Skip to content

Commit

Permalink
fix: Prefer no duplicate imports and no type imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaituVR committed Jul 24, 2024
1 parent 5b398b4 commit 52d7ae7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/eslint-config-base/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ module.exports = {
sourceType: 'module'
},
rules: {
'import/no-duplicates': ['error', { 'prefer-inline': true }],
'@typescript-eslint/consistent-type-imports': [
'error',
{ prefer: 'no-type-imports' }
],
'prettier/prettier': 'error',
'no-console': 'off',
'prefer-template': 'error',
Expand Down

0 comments on commit 52d7ae7

Please sign in to comment.