feat(eslint): max-statements-per-line

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-19 14:39:03 +04:00
parent 3467c5b216
commit ff60ccfbd9
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 7 additions and 1 deletions

View File

@ -69,7 +69,7 @@
- [ ] "max-nested-callbacks" - [ ] "max-nested-callbacks"
- [ ] "max-params" - [ ] "max-params"
- [X] "max-statements" - [X] "max-statements"
- [ ] "max-statements-per-line" - [X] "max-statements-per-line"
- [X] "multiline-comment-style" - [X] "multiline-comment-style"
- [ ] "multiline-ternary" - [ ] "multiline-ternary"
- [X] "new-cap" - [X] "new-cap"

View File

@ -200,6 +200,12 @@
"max-statements": [ "max-statements": [
"off" "off"
], ],
"max-statements-per-line": [
"error",
{
"max": 1
}
],
"multiline-comment-style": [ "multiline-comment-style": [
"error", "error",
"starred-block" "starred-block"