Skip to content

Commit

Permalink
[eslint config] [base] [patch] loosen max-len by ignoring strings
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb authored and hibearpanda committed Jan 22, 2017
1 parent b61d16f commit de0a694
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/eslint-config-airbnb-base/rules/style.js
Expand Up @@ -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
Expand Down

0 comments on commit de0a694

Please sign in to comment.