feat(eslint): Rule "object-property-newline"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
320dab004a
commit
649ad0f879
@ -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"
|
||||
|
@ -285,6 +285,12 @@
|
||||
"objectsInObjects": false
|
||||
}
|
||||
],
|
||||
"object-property-newline": [
|
||||
"error",
|
||||
{
|
||||
"allowAllPropertiesOnSameLine": false
|
||||
}
|
||||
],
|
||||
"one-var": [
|
||||
"error",
|
||||
"never"
|
||||
|
Loading…
x
Reference in New Issue
Block a user