From ff60ccfbd9c8dbb9a3224e476ebc1f48b85208fc Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 19 Feb 2020 14:39:03 +0400 Subject: feat(eslint): max-statements-per-line Signed-off-by: Valentin Popov --- src/rules/javascript/default.json | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/rules/javascript') 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" -- cgit v1.2.3