feat(max-len): use ignoreUrls: true

Don't consider lines containing URLs as violating max-len
This commit is contained in:
Ray Schamp 2016-11-23 17:27:09 -05:00
parent be9abcdee7
commit a6d81174d2

View file

@ -104,7 +104,11 @@ module.exports = {
after: true
}],
'linebreak-style': [2, 'unix'],
'max-len': [2, 120, 4],
'max-len': [2, {
code: 120,
tabWidth: 4,
ignoreUrls: true
}],
'new-parens': [2],
'newline-per-chained-call': [2],
'no-lonely-if': [1],