feat(eslint): Rule "max-lines-per-function"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
2020-02-13 23:40:56 +04:00
parent c1a74da765
commit 6c7cf2ef09
2 changed files with 10 additions and 1 deletions

View File

@ -155,6 +155,15 @@
"max-lines": [
"off"
],
"max-lines-per-function": [
"warn",
{
"IIFEs": false,
"max": 128,
"skipBlankLines": true,
"skipComments": true
}
],
"max-statements": [
"off"
],