ESLint: Use ignoreChainWithDepth: 3 for newline-per-chained-call
This commit is contained in:
parent
e44dc23f55
commit
3a777dcf40
1 changed files with 6 additions and 1 deletions
|
@ -161,7 +161,12 @@
|
||||||
"always-multiline"
|
"always-multiline"
|
||||||
],
|
],
|
||||||
"new-parens": "off",
|
"new-parens": "off",
|
||||||
"newline-per-chained-call": "error",
|
"newline-per-chained-call": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"ignoreChainWithDepth": 3
|
||||||
|
}
|
||||||
|
],
|
||||||
"no-alert": "off",
|
"no-alert": "off",
|
||||||
"no-array-constructor": "error",
|
"no-array-constructor": "error",
|
||||||
"no-await-in-loop": "warn",
|
"no-await-in-loop": "warn",
|
||||||
|
|
Loading…
Reference in a new issue