From c6b10f68aa31e323933b14e04b50d8c1075ef28c Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Thu, 16 Jul 2015 21:05:47 -0700 Subject: [PATCH] New rule: indent switch "case" sections --- eslintrc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eslintrc.json b/eslintrc.json index 840ca130..81ba174e 100644 --- a/eslintrc.json +++ b/eslintrc.json @@ -44,7 +44,7 @@ "global-strict": 0, "guard-for-in": 0, "handle-callback-err": [2, "^(err|error)$" ], - "indent": [2, 2], + "indent": [2, 2, { "indentSwitchCase": true }], "init-declarations": 0, "key-spacing": [2, { "beforeColon": false, "afterColon": true }], "linebreak-style": 0,