diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-14 15:15:04 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-14 15:15:04 +0300 |
commit | b19f79913de6b650ba3a90470831db1f63c4f099 (patch) | |
tree | 86ce23fafd604970e053e8fe42f56980375557b7 | |
parent | e1ace2d6d2e6dd1d68f041df76adf261a0e7ba94 (diff) | |
download | eslint-config-b19f79913de6b650ba3a90470831db1f63c4f099.tar.xz eslint-config-b19f79913de6b650ba3a90470831db1f63c4f099.zip |
fix(eslint): Rule "object-shorthand"
Signed-off-by: Valentin Popov <info@valentineus.link>
-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", |