aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/javascript/default.json6
2 files changed, 7 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 71d87c4..19cd00e 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -69,7 +69,7 @@
- [ ] "max-nested-callbacks"
- [ ] "max-params"
- [X] "max-statements"
-- [ ] "max-statements-per-line"
+- [X] "max-statements-per-line"
- [X] "multiline-comment-style"
- [ ] "multiline-ternary"
- [X] "new-cap"
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"