Bug 1247186 - 2 - Set max-len rule to report errors; r=Honza

MozReview-Commit-ID: CA2vyfkxMzE

--HG--
extra : rebase_source : bbe2fbae2e4db8bf7adbfc846e89b20a5ac78e68
This commit is contained in:
Patrick Brosset 2016-02-25 17:38:47 +01:00
Родитель 41b0a29fd2
Коммит acafefeb18
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -92,7 +92,7 @@
// rule is a better rule to check this.
"max-depth": 0,
// Maximum length of a line.
"max-len": [1, 80, 2, {"ignoreUrls": true, "ignorePattern": "\\s*require\\s*\\(|^\\s*loader\\.lazy|-\\*-"}],
"max-len": [2, 80, 2, {"ignoreUrls": true, "ignorePattern": "\\s*require\\s*\\(|^\\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.