فهرست منبع

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"
       "@typescript-eslint"
     ],
     ],
     "rules": {
     "rules": {
-      "@typescript-eslint/no-unused-vars": 1
+      "@typescript-eslint/no-unused-vars": 1,
+      "@typescript-eslint/indent": [
+        "error",
+        "tab",
+        {
+          "SwitchCase": 1
+        }
+      ]
     }
     }
   },
   },
   "scripts": {
   "scripts": {