feat(eslint): Rule "object-shorthand"

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

No files matched your search

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