summaryrefslogtreecommitdiff
path: root/src/rules
diff options
context:
space:
mode:
Diffstat (limited to 'src/rules')
-rw-r--r--src/rules/default.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rules/default.json b/src/rules/default.json
index a2f5c79..905aa50 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -384,6 +384,10 @@
"allowAllPropertiesOnSameLine": false
}
],
+ "object-shorthand": [
+ "error",
+ "consistent-as-needed"
+ ],
"one-var": [
"error",
"never"