0.0.5
- ref: désactive des règles pénibles - ref: désactive des règles en conflit avec Effect
This commit is contained in:
parent
32ed83d772
commit
64c121e89c
8 changed files with 167 additions and 104 deletions
|
|
@ -59,14 +59,24 @@ const typeScriptRules: DummyRuleMap = {
|
|||
prefer: "type-imports",
|
||||
},
|
||||
],
|
||||
/**
|
||||
* Enforce dot notation whenever property access can be written safely as `obj.prop`.
|
||||
*
|
||||
* Dot notation is generally more readable and concise than bracket notation for static property names.
|
||||
*/
|
||||
"typescript/dot-notation": [
|
||||
"deny",
|
||||
{
|
||||
allowIndexSignaturePropertyAccess: false,
|
||||
/** Allow bracket notation for properties covered by an index signature. */
|
||||
allowIndexSignaturePropertyAccess: true,
|
||||
/** Allow bracket notation for ES3 keyword property names (for example `obj["class"]`). */
|
||||
allowKeywords: false,
|
||||
/** Regex pattern for property names that are allowed to use bracket notation. */
|
||||
allowPattern: "",
|
||||
allowPrivateClassPropertyAccess: false,
|
||||
allowProtectedClassPropertyAccess: false,
|
||||
/** Allow bracket notation for private class members. */
|
||||
allowPrivateClassPropertyAccess: true,
|
||||
/** Allow bracket notation for protected class members. */
|
||||
allowProtectedClassPropertyAccess: true,
|
||||
},
|
||||
],
|
||||
"typescript/explicit-function-return-type": [
|
||||
|
|
@ -426,8 +436,9 @@ const typeScriptRules: DummyRuleMap = {
|
|||
types: "prefer-import",
|
||||
},
|
||||
],
|
||||
/** Trop de faux négatifs dans les pipelines. */
|
||||
"typescript/unbound-method": [
|
||||
"deny",
|
||||
"allow",
|
||||
{
|
||||
ignoreStatic: false,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue