diff --git a/.eslintrc.json b/.eslintrc.json index 5b30b020..b038b3ed 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -190,6 +190,7 @@ "object-curly-newline": ["error", { "multiline": true, "consistent": true }], "object-curly-spacing": ["error", "always"], "object-property-newline": ["error", { "allowMultiplePropertiesPerLine": true }], + "object-shorthand": ["warn", "properties"], "one-var": ["error", { "initialized": "never" }], "operator-linebreak": ["error", "after", { "overrides": { "?": "before", ":": "before", "|>": "before" } }], "padded-blocks": ["error", { "blocks": "never", "switches": "never", "classes": "never" }],