From e8e7182fd08bbbfb63a054d4af480d798aca0c14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20Unneb=C3=A4ck?= Date: Wed, 27 Jun 2018 23:00:20 +0200 Subject: [PATCH] Add the object-curly-spacing rule Per discussion [here](https://github.com/standard/standard/issues/609#issuecomment-400826566) (https://github.com/standard/standard/issues/609#issuecomment-400826566) it seems like it's both time for this to happen, and that the community prefers `"always"`. --- eslintrc.json | 1 + 1 file changed, 1 insertion(+) diff --git a/eslintrc.json b/eslintrc.json index 4b5db8a9..81b4f192 100644 --- a/eslintrc.json +++ b/eslintrc.json @@ -157,6 +157,7 @@ "no-useless-return": "error", "no-whitespace-before-property": "error", "no-with": "error", + "object-curly-spacing": ["error", "always"], "object-property-newline": ["error", { "allowMultiplePropertiesPerLine": true }], "one-var": ["error", { "initialized": "never" }], "operator-linebreak": ["error", "after", { "overrides": { "?": "before", ":": "before" } }],