[eslint config] [base] [patch] loosen max-len by ignoring strings

Per https://github.com/eslint/eslint/pull/7049 / https://github.com/eslint/eslint/issues/5805
This commit is contained in:
Jordan Harband
2016-09-10 14:29:35 -07:00
parent 7412641af9
commit 38f679e9f9

View File

@@ -104,7 +104,9 @@ module.exports = {
// http://eslint.org/docs/rules/max-len
'max-len': ['error', 100, 2, {
ignoreUrls: true,
ignoreComments: false
ignoreComments: false,
ignoreStrings: true,
ignoreTemplateLiterals: true,
}],
// specify the max number of lines in a file