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

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-13 22:51:40 +04:00
parent e914d9f80e
commit 2bd8970004
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 9 additions and 1 deletions

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"

View File

@ -131,6 +131,14 @@
"ignoreEOLComments": false
}
],
"no-multiple-empty-lines": [
"error",
{
"max": 1,
"maxBOF": 1,
"maxEOF": 1
}
],
"no-native-reassign": [
"off"
],