Browse Source

refactor: enabled strict typechecking on frontend, disabled typechecking commit job

Kristian Vos 1 year ago
parent
commit
6bf7295a06
2 changed files with 8 additions and 4 deletions
  1. 2 2
      .github/workflows/build-lint.yml
  2. 6 2
      frontend/tsconfig.json

+ 2 - 2
.github/workflows/build-lint.yml

@@ -42,7 +42,7 @@ jobs:
               run: ./musare.sh typescript backend
             - name: Frontend Lint
               run: ./musare.sh lint frontend
-            - name: Frontend Typescript
-              run: ./musare.sh typescript frontend
+#            - name: Frontend Typescript
+#              run: ./musare.sh typescript frontend
             - name: Docs Lint
               run: ./musare.sh lint docs

+ 6 - 2
frontend/tsconfig.json

@@ -18,7 +18,11 @@
       "vite/client",
       "@intlify/vite-plugin-vue-i18n/client",
       "vitest/globals"
-    ]
+    ],
+    "strict": true
   },
-  "exclude": ["./src/index.html", "./src/coverage"]
+  "exclude": [
+    "./src/index.html",
+    "./src/coverage"
+  ]
 }