summaryrefslogtreecommitdiff
path: root/src/rules/default.json
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 22:24:25 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 22:24:25 +0300
commit2588edeee2d02abdabe1e7ffe45a633e3c9a62d6 (patch)
tree177a4095cbcbf613974a0b21bfca695745047b65 /src/rules/default.json
parent03127f73f3bfde9c541f0a221231c372949781f4 (diff)
downloadeslint-config-2588edeee2d02abdabe1e7ffe45a633e3c9a62d6.tar.xz
eslint-config-2588edeee2d02abdabe1e7ffe45a633e3c9a62d6.zip
feat(eslint): Rule "max-len"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules/default.json')
-rw-r--r--src/rules/default.json14
1 files changed, 14 insertions, 0 deletions
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"
],