aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 22:14:21 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 22:14:21 +0300
commit03127f73f3bfde9c541f0a221231c372949781f4 (patch)
tree166e7b078e74ae781a16cbaef1f0783aad657b87
parent21abdcaf6343c562ad6cea87fa185e0a0e720663 (diff)
downloadeslint-config-03127f73f3bfde9c541f0a221231c372949781f4.tar.xz
eslint-config-03127f73f3bfde9c541f0a221231c372949781f4.zip
feat(eslint): Rule "max-lines"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/default.json3
2 files changed, 4 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 4c21c1d..301de1f 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -64,7 +64,7 @@
- [ ] "max-classes-per-file"
- [ ] "max-depth"
- [ ] "max-len"
-- [ ] "max-lines"
+- [X] "max-lines"
- [ ] "max-lines-per-function"
- [ ] "max-nested-callbacks"
- [ ] "max-params"
diff --git a/src/rules/default.json b/src/rules/default.json
index 6e6a96a..016fd93 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -117,6 +117,9 @@
"exceptAfterSingleLine": false
}
],
+ "max-lines": [
+ "off"
+ ],
"max-statements": [
"off"
],