From 85c555f5a13eef8e52d9b196d474950c2607f0cb Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 23:05:24 +0400 Subject: feat(eslint): Rule "max-statements" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/default.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3