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-newline"
|
||||||
- [X] "object-curly-spacing"
|
- [X] "object-curly-spacing"
|
||||||
- [X] "object-property-newline"
|
- [X] "object-property-newline"
|
||||||
- [ ] "object-shorthand"
|
- [X] "object-shorthand"
|
||||||
- [X] "one-var"
|
- [X] "one-var"
|
||||||
- [ ] "one-var-declaration-per-line"
|
- [ ] "one-var-declaration-per-line"
|
||||||
- [ ] "operator-assignment"
|
- [ ] "operator-assignment"
|
||||||
|
@ -384,6 +384,10 @@
|
|||||||
"allowAllPropertiesOnSameLine": false
|
"allowAllPropertiesOnSameLine": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"object-shorthand": [
|
||||||
|
"error",
|
||||||
|
"consistent-as-needed"
|
||||||
|
],
|
||||||
"one-var": [
|
"one-var": [
|
||||||
"error",
|
"error",
|
||||||
"never"
|
"never"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user