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:
Gergo Erdosi
2015-12-31 01:39:07 +01:00
parent 6184703f1c
commit 8e54961aeb

View File

@@ -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