diff options
Diffstat (limited to 'src/rules')
-rw-r--r-- | src/rules/javascript/default.json | 7 |
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", |