feat(eslint): Rule "no-multiple-empty-lines"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
e914d9f80e
commit
2bd8970004
@ -146,7 +146,7 @@
|
|||||||
- [ ] "no-multi-assign"
|
- [ ] "no-multi-assign"
|
||||||
- [X] "no-multi-spaces"
|
- [X] "no-multi-spaces"
|
||||||
- [ ] "no-multi-str"
|
- [ ] "no-multi-str"
|
||||||
- [ ] "no-multiple-empty-lines"
|
- [X] "no-multiple-empty-lines"
|
||||||
- [X] "no-native-reassign"
|
- [X] "no-native-reassign"
|
||||||
- [ ] "no-negated-condition"
|
- [ ] "no-negated-condition"
|
||||||
- [X] "no-negated-in-lhs"
|
- [X] "no-negated-in-lhs"
|
||||||
|
@ -131,6 +131,14 @@
|
|||||||
"ignoreEOLComments": false
|
"ignoreEOLComments": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"no-multiple-empty-lines": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"max": 1,
|
||||||
|
"maxBOF": 1,
|
||||||
|
"maxEOF": 1
|
||||||
|
}
|
||||||
|
],
|
||||||
"no-native-reassign": [
|
"no-native-reassign": [
|
||||||
"off"
|
"off"
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user