зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1232743 - Ignore max-len ESLint rule for URLs and loader lines. r=pbrosset
This commit is contained in:
Родитель
4e32344c83
Коммит
a588881ffe
|
@ -94,7 +94,7 @@
|
|||
// rule is a better rule to check this.
|
||||
"max-depth": 0,
|
||||
// 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.
|
||||
"max-nested-callbacks": [2, 3],
|
||||
// Don't limit the number of parameters that can be used in a function.
|
||||
|
|
Загрузка…
Ссылка в новой задаче