From 4623edce24f52837b4c30abbd79bb3b0d9468791 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20Unneb=C3=A4ck?= Date: Fri, 24 Apr 2020 08:10:38 +0100 Subject: [PATCH] Add object-shorthand rule as warning --- .eslintrc.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.json b/.eslintrc.json index 5b30b020..6edbb1a0 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -26,6 +26,7 @@ "rules": { "no-var": "warn", + "object-shorthand": ["warn", "properties"], "accessor-pairs": ["error", { "setWithoutGet": true, "enforceForClassMembers": true }], "array-bracket-spacing": ["error", "never"],