feat(eslint): Rule "no-multiple-empty-lines"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov committed 2020-02-13 22:51:40 +04:00
1 parent e914d9f80e
commit 2bd8970004
2 files changed
+9 -1

No files matched your search

+1 -1
View File
@@ -146,7 +146,7 @@
- [ ] "no-multi-assign"
- [X] "no-multi-spaces"
- [ ] "no-multi-str"
- [ ] "no-multiple-empty-lines"
- [X] "no-multiple-empty-lines"
- [X] "no-native-reassign"
- [ ] "no-negated-condition"
- [X] "no-negated-in-lhs"
+8
View File
@@ -131,6 +131,14 @@
"ignoreEOLComments": false
}
],
"no-multiple-empty-lines": [
"error",
{
"max": 1,
"maxBOF": 1,
"maxEOF": 1
}
],
"no-native-reassign": [
"off"
],