Add JavaScript rule for maximum line length

I'm using the same criteria we use in Ruby: 110 characters, and the
severity set as a warning, since it's a rule we break sometimes.
This commit is contained in:
Javi Martín
2019-07-02 17:00:03 +02:00
parent 9185c0bcc6
commit 392095a379

View File

@@ -28,6 +28,9 @@ rules:
keyword-spacing: error
linebreak-style: error
lines-between-class-members: error
max-len:
- warn
- code: 110
no-console: error
no-multi-spaces: error
no-multiple-empty-lines: