Merge pull request #651 from gergoerdosi/max-len

[Fix] fix max-len rule definition for eslint 1.x
This commit is contained in:
Jordan Harband
2015-12-30 17:45:52 -08:00

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