Преглед изворни кода

add indent rule for typescript

Garrett Johnson пре 6 година
родитељ
комит
e84a71ab66
1 измењених фајлова са 8 додато и 1 уклоњено
  1. 8 1
      package.json

+ 8 - 1
package.json

@@ -32,7 +32,14 @@
       "@typescript-eslint"
     ],
     "rules": {
-      "@typescript-eslint/no-unused-vars": 1
+      "@typescript-eslint/no-unused-vars": 1,
+      "@typescript-eslint/indent": [
+        "error",
+        "tab",
+        {
+          "SwitchCase": 1
+        }
+      ]
     }
   },
   "scripts": {