feat(eslint): Rule "object-shorthand"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
ccea0635e4
commit
46abf32d58
@ -225,7 +225,7 @@
|
||||
- [X] "object-curly-newline"
|
||||
- [X] "object-curly-spacing"
|
||||
- [X] "object-property-newline"
|
||||
- [ ] "object-shorthand"
|
||||
- [X] "object-shorthand"
|
||||
- [X] "one-var"
|
||||
- [ ] "one-var-declaration-per-line"
|
||||
- [ ] "operator-assignment"
|
||||
|
@ -384,6 +384,10 @@
|
||||
"allowAllPropertiesOnSameLine": false
|
||||
}
|
||||
],
|
||||
"object-shorthand": [
|
||||
"error",
|
||||
"consistent-as-needed"
|
||||
],
|
||||
"one-var": [
|
||||
"error",
|
||||
"never"
|
||||
|
Loading…
x
Reference in New Issue
Block a user