From 392095a3795f974f778ca3decb79d13ae644e71e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Tue, 2 Jul 2019 17:00:03 +0200 Subject: [PATCH] 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. --- .eslintrc.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.eslintrc.yml b/.eslintrc.yml index aefbf90df..d2b4ece50 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -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: