From 6c7cf2ef0997913a48051519961c867591307744 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 23:40:56 +0400 Subject: feat(eslint): Rule "max-lines-per-function" Signed-off-by: Valentin Popov --- src/rules/default.json | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/rules') diff --git a/src/rules/default.json b/src/rules/default.json index cc57b61..dd4523a 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -155,6 +155,15 @@ "max-lines": [ "off" ], + "max-lines-per-function": [ + "warn", + { + "IIFEs": false, + "max": 128, + "skipBlankLines": true, + "skipComments": true + } + ], "max-statements": [ "off" ], -- cgit v1.2.3