From 7b653e7c01c295148be1c8d4a1da171d48f37338 Mon Sep 17 00:00:00 2001 From: oskarl2 <36820242+oskarl2@users.noreply.github.com> Date: Fri, 15 Dec 2023 14:34:54 +0400 Subject: [PATCH] feat(eslint-config): add no-duplicate-imports, no-constant-condition --- packages/eslint-config/js.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/eslint-config/js.js b/packages/eslint-config/js.js index 15b5c6f..ffd9898 100644 --- a/packages/eslint-config/js.js +++ b/packages/eslint-config/js.js @@ -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',