mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 02:47:57 -05:00
Fix max-len rule definition
The current definition is valid only in eslint@2.x.x, but this package has a dependency on eslint@1.10.3 which doesn't have all those options yet.
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