From a8fe0cb9dbde05425e1788601faf21194e45b626 Mon Sep 17 00:00:00 2001 From: Kilian Panot Date: Tue, 3 Sep 2024 18:40:30 +0900 Subject: [PATCH] fix(eslint): turn no-require rule to warn to keep compatibility --- .../eslint-config-otter/rules/typescript/eslint-typescript.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@o3r/eslint-config-otter/rules/typescript/eslint-typescript.cjs b/packages/@o3r/eslint-config-otter/rules/typescript/eslint-typescript.cjs index 3e887312b4..a832813c81 100644 --- a/packages/@o3r/eslint-config-otter/rules/typescript/eslint-typescript.cjs +++ b/packages/@o3r/eslint-config-otter/rules/typescript/eslint-typescript.cjs @@ -124,7 +124,7 @@ module.exports = { '@typescript-eslint/no-non-null-assertion': 'off', '@typescript-eslint/no-parameter-properties': 'off', '@typescript-eslint/no-redeclare': 'error', - '@typescript-eslint/no-require-imports': 'error', + '@typescript-eslint/no-require-imports': 'warn', '@typescript-eslint/no-shadow': [ 'error', {