From 2588edeee2d02abdabe1e7ffe45a633e3c9a62d6 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 23:24:25 +0400 Subject: feat(eslint): Rule "max-len" Signed-off-by: Valentin Popov --- src/rules/default.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src') diff --git a/src/rules/default.json b/src/rules/default.json index 016fd93..f0e2ab2 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -117,6 +117,20 @@ "exceptAfterSingleLine": false } ], + "max-len": [ + "warn", + { + "code": 180, + "comments": 72, + "ignoreComments": false, + "ignoreRegExpLiterals": false, + "ignoreStrings": true, + "ignoreTemplateLiterals": true, + "ignoreTrailingComments": false, + "ignoreUrls": true, + "tabWidth": 4 + } + ], "max-lines": [ "off" ], -- cgit v1.2.3