summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-19 13:39:03 +0300
committerValentin Popov <info@valentineus.link>2020-02-19 13:39:03 +0300
commitff60ccfbd9c8dbb9a3224e476ebc1f48b85208fc (patch)
tree389da7fba89cd7d4188d949cd9827fd5a259733b /src
parent3467c5b216bd22a397355600f1a4f43311e9cc5f (diff)
downloadeslint-config-ff60ccfbd9c8dbb9a3224e476ebc1f48b85208fc.tar.xz
eslint-config-ff60ccfbd9c8dbb9a3224e476ebc1f48b85208fc.zip
feat(eslint): max-statements-per-line
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r--src/rules/javascript/default.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rules/javascript/default.json b/src/rules/javascript/default.json
index 1004268..88c2b2d 100644
--- a/src/rules/javascript/default.json
+++ b/src/rules/javascript/default.json
@@ -200,6 +200,12 @@
"max-statements": [
"off"
],
+ "max-statements-per-line": [
+ "error",
+ {
+ "max": 1
+ }
+ ],
"multiline-comment-style": [
"error",
"starred-block"