Skip to content

Commit ceb4195

Browse files
committed
Merge pull request airbnb#651 from gergoerdosi/max-len
[Fix] fix max-len rule definition for eslint 1.x
2 parents 6184703 + 8e54961 commit ceb4195

File tree

1 file changed

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

1 file changed

+1
-7
lines changed

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

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,8 @@ module.exports = {
3636
'linebreak-style': 0,
3737
// specify the maximum length of a line in your program
3838
// https://github.com/eslint/eslint/blob/master/docs/rules/max-len.md
39-
'max-len': [2, {
40-
'code': 100,
41-
'comments': 100,
42-
'commentLength': 100,
43-
'tabWidth': 2,
39+
'max-len': [2, 100, 2, {
4440
'ignoreUrls': false,
45-
'ignorePattern': null,
46-
'ignoreTrailingComments': false,
4741
'ignoreComments': false
4842
}],
4943
// specify the maximum depth callbacks can be nested

0 commit comments

Comments
 (0)