From aed55ac496f020d0ef1b3245a5c46dc95d0b4b9e Mon Sep 17 00:00:00 2001 From: gcch Date: Wed, 15 Apr 2026 18:12:15 +0200 Subject: [PATCH] =?UTF-8?q?ref:=20d=C3=A9sactive=20des=20r=C3=A8gles=20p?= =?UTF-8?q?=C3=A9nibles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rules/eslint.ts | 1 + rules/typescript.ts | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/rules/eslint.ts b/rules/eslint.ts index 1380983..b58bb42 100644 --- a/rules/eslint.ts +++ b/rules/eslint.ts @@ -227,6 +227,7 @@ const esLintRules: DummyRuleMap = { "eslint/no-shadow": [ "deny", { + allow: ["Option"], builtinGlobals: true, hoist: "functions-and-types", ignoreFunctionTypeParameterNameValueShadow: true, diff --git a/rules/typescript.ts b/rules/typescript.ts index 07d54e6..078546e 100644 --- a/rules/typescript.ts +++ b/rules/typescript.ts @@ -426,8 +426,11 @@ const typeScriptRules: DummyRuleMap = { types: "prefer-import", }, ], + /** + * Trop de faux négatifs dans les pipelines. + */ "typescript/unbound-method": [ - "deny", + "allow", { ignoreStatic: false, },