Skip to content

Commit

Permalink
feat(eslint-config): add no-duplicate-imports, no-constant-condition
Browse files Browse the repository at this point in the history
  • Loading branch information
oskarl2 authored Dec 15, 2023
1 parent 09abbad commit 7b653e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/eslint-config/js.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ module.exports = {
next: 'expression'
}
],
'no-duplicate-imports': 2,
'no-constant-condition': ['error', {
'checkLoops': false
}],
'sonar/anchor-precedence': 'error',
'sonar/bool-param-default': 'error',
'sonar/concise-regex': 'error',
Expand Down

0 comments on commit 7b653e7

Please sign in to comment.