diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 22:40:56 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 22:40:56 +0300 |
commit | 6c7cf2ef0997913a48051519961c867591307744 (patch) | |
tree | cd32b9d6160e523a9338750c7bdebbc610fce340 /src | |
parent | c1a74da765329f074d3bd8b2a80282cace1f684d (diff) | |
download | eslint-config-6c7cf2ef0997913a48051519961c867591307744.tar.xz eslint-config-6c7cf2ef0997913a48051519961c867591307744.zip |
feat(eslint): Rule "max-lines-per-function"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r-- | src/rules/default.json | 9 |
1 files changed, 9 insertions, 0 deletions
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" ], |