From d13004e775c69c7241a9ff45325932780a9d38ec Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Tue, 17 May 2016 21:12:47 -0400 Subject: [PATCH] Specify the default value for the number of spaces in the indent rule so its object parameter isn't parsed as the number of spaces --- eslintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eslintrc b/eslintrc index 25b6c88..6b22930 100644 --- a/eslintrc +++ b/eslintrc @@ -86,7 +86,7 @@ "comma-spacing": [ "warn" ], "comma-style": [ "warn" ], "computed-property-spacing": [ "warn" ], - "indent": [ "warn", { "SwitchCase": 1 } ], + "indent": [ "warn", 4, { "SwitchCase": 1 } ], "key-spacing": [ "warn", { "align": "value" } ], "keyword-spacing": [ "warn" ], "linebreak-style": [ "warn" ],