aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/default.json9
2 files changed, 10 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 6bc1a3d..011ef65 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -65,7 +65,7 @@
- [ ] "max-depth"
- [X] "max-len"
- [X] "max-lines"
-- [ ] "max-lines-per-function"
+- [X] "max-lines-per-function"
- [ ] "max-nested-callbacks"
- [ ] "max-params"
- [X] "max-statements"
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"
],