mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 06:18:00 -05:00
Merge pull request #651 from gergoerdosi/max-len
[Fix] fix max-len rule definition for eslint 1.x
This commit is contained in:
@@ -36,14 +36,8 @@ module.exports = {
|
||||
'linebreak-style': 0,
|
||||
// specify the maximum length of a line in your program
|
||||
// https://github.com/eslint/eslint/blob/master/docs/rules/max-len.md
|
||||
'max-len': [2, {
|
||||
'code': 100,
|
||||
'comments': 100,
|
||||
'commentLength': 100,
|
||||
'tabWidth': 2,
|
||||
'max-len': [2, 100, 2, {
|
||||
'ignoreUrls': false,
|
||||
'ignorePattern': null,
|
||||
'ignoreTrailingComments': false,
|
||||
'ignoreComments': false
|
||||
}],
|
||||
// specify the maximum depth callbacks can be nested
|
||||
|
||||
Reference in New Issue
Block a user