feat(eslint): Rule "object-shorthand"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
2020-02-14 02:16:26 +04:00
parent ccea0635e4
commit 46abf32d58
2 changed files with 5 additions and 1 deletions

View File

@ -384,6 +384,10 @@
"allowAllPropertiesOnSameLine": false
}
],
"object-shorthand": [
"error",
"consistent-as-needed"
],
"one-var": [
"error",
"never"