feat(eslint): Rule "object-property-newline"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-13 23:51:19 +04:00
parent 320dab004a
commit 649ad0f879
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 7 additions and 1 deletions

View File

@ -224,7 +224,7 @@
- [ ] "nonblock-statement-body-position"
- [X] "object-curly-newline"
- [X] "object-curly-spacing"
- [ ] "object-property-newline"
- [X] "object-property-newline"
- [ ] "object-shorthand"
- [X] "one-var"
- [ ] "one-var-declaration-per-line"

View File

@ -285,6 +285,12 @@
"objectsInObjects": false
}
],
"object-property-newline": [
"error",
{
"allowAllPropertiesOnSameLine": false
}
],
"one-var": [
"error",
"never"