mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 04:48:12 -05:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user