aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 22:05:24 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 22:05:24 +0300
commit85c555f5a13eef8e52d9b196d474950c2607f0cb (patch)
tree36e8fb6bac1a2ae4f0b21e0e8487a01deff5809c
parentb2282f2cd154924314abeb11103d907e6f999a1e (diff)
downloadeslint-config-85c555f5a13eef8e52d9b196d474950c2607f0cb.tar.xz
eslint-config-85c555f5a13eef8e52d9b196d474950c2607f0cb.zip
feat(eslint): Rule "max-statements"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/default.json3
2 files changed, 4 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 7be4e6b..1721ef0 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -68,7 +68,7 @@
- [ ] "max-lines-per-function"
- [ ] "max-nested-callbacks"
- [ ] "max-params"
-- [ ] "max-statements"
+- [X] "max-statements"
- [ ] "max-statements-per-line"
- [X] "multiline-comment-style"
- [ ] "multiline-ternary"
diff --git a/src/rules/default.json b/src/rules/default.json
index b8c2521..8fdf66e 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -99,6 +99,9 @@
"lines-around-directive": [
"off"
],
+ "max-statements": [
+ "off"
+ ],
"multiline-comment-style": [
"error",
"starred-block"