Explorar el Código

add indent rule for typescript

Garrett Johnson hace 6 años
padre
commit
e84a71ab66
Se han modificado 1 ficheros con 8 adiciones y 1 borrados
  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": {