summaryrefslogtreecommitdiff
path: root/src/rules/javascript/default.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/rules/javascript/default.json')
-rw-r--r--src/rules/javascript/default.json7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/rules/javascript/default.json b/src/rules/javascript/default.json
index 25be407..bc42d8f 100644
--- a/src/rules/javascript/default.json
+++ b/src/rules/javascript/default.json
@@ -465,7 +465,12 @@
],
"object-shorthand": [
"error",
- "consistent-as-needed"
+ "always",
+ {
+ "avoidExplicitReturnArrows": true,
+ "avoidQuotes": false,
+ "ignoreConstructors": false
+ }
],
"one-var": [
"error",