mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1232743 - Ignore max-len ESLint rule for URLs and loader lines. r=pbrosset
This commit is contained in:
parent
60a27529fe
commit
1565a4c3c1
@ -94,7 +94,7 @@
|
|||||||
// rule is a better rule to check this.
|
// rule is a better rule to check this.
|
||||||
"max-depth": 0,
|
"max-depth": 0,
|
||||||
// Maximum length of a line.
|
// Maximum length of a line.
|
||||||
"max-len": [1, 80],
|
"max-len": [1, 80, 2, {"ignoreUrls": true, "ignorePattern": "^\\s*loader\\.lazy"}],
|
||||||
// Maximum depth callbacks can be nested.
|
// Maximum depth callbacks can be nested.
|
||||||
"max-nested-callbacks": [2, 3],
|
"max-nested-callbacks": [2, 3],
|
||||||
// Don't limit the number of parameters that can be used in a function.
|
// Don't limit the number of parameters that can be used in a function.
|
||||||
|
Loading…
Reference in New Issue
Block a user