ref: désactive des règles pénibles

This commit is contained in:
gcch 2026-04-15 18:12:15 +02:00
commit aed55ac496
2 changed files with 5 additions and 1 deletions

View file

@ -227,6 +227,7 @@ const esLintRules: DummyRuleMap = {
"eslint/no-shadow": [ "eslint/no-shadow": [
"deny", "deny",
{ {
allow: ["Option"],
builtinGlobals: true, builtinGlobals: true,
hoist: "functions-and-types", hoist: "functions-and-types",
ignoreFunctionTypeParameterNameValueShadow: true, ignoreFunctionTypeParameterNameValueShadow: true,

View file

@ -426,8 +426,11 @@ const typeScriptRules: DummyRuleMap = {
types: "prefer-import", types: "prefer-import",
}, },
], ],
/**
* Trop de faux négatifs dans les pipelines.
*/
"typescript/unbound-method": [ "typescript/unbound-method": [
"deny", "allow",
{ {
ignoreStatic: false, ignoreStatic: false,
}, },