From b19f79913de6b650ba3a90470831db1f63c4f099 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 16:15:04 +0400 Subject: fix(eslint): Rule "object-shorthand" Signed-off-by: Valentin Popov --- src/rules/javascript/default.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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", -- cgit v1.2.3