Skip to content

Commit 38f679e

Browse files
committed
[eslint config] [base] [patch] loosen max-len by ignoring strings
Per eslint/eslint#7049 / eslint/eslint#5805
1 parent 7412641 commit 38f679e

File tree

1 file changed

+3
-1
lines changed
  • packages/eslint-config-airbnb-base/rules

1 file changed

+3
-1
lines changed

packages/eslint-config-airbnb-base/rules/style.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@ module.exports = {
104104
// http://eslint.org/docs/rules/max-len
105105
'max-len': ['error', 100, 2, {
106106
ignoreUrls: true,
107-
ignoreComments: false
107+
ignoreComments: false,
108+
ignoreStrings: true,
109+
ignoreTemplateLiterals: true,
108110
}],
109111

110112
// specify the max number of lines in a file

0 commit comments

Comments
 (0)