ref: désactive des règles pénibles
This commit is contained in:
parent
32ed83d772
commit
aed55ac496
2 changed files with 5 additions and 1 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue