fix and enforce indent rules
[squeep-api-dingus] / .eslintrc.json
index 7602b332d7b5a2ab2fe18bdd9faf9ed992475a66..1dc01d2438c77662ef4d54c0b839a9d0752c1e9d 100644 (file)
       "error",
       "last"
     ],
+    "indent": [
+      "warn",
+      2,
+      {
+        "SwitchCase": 1
+      }
+    ],
     "sonarjs/cognitive-complexity": "warn",
     "keyword-spacing": "error",
     "linebreak-style": [
@@ -79,4 +86,4 @@
     "strict": "error",
     "vars-on-top": "error"
   }
-}
\ No newline at end of file
+}