Skip to content

Commit

Permalink
made type checking stricter
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Apr 5, 2024
1 parent 1021ef9 commit 0aab96e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions webclient/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,8 @@ export default defineNuxtConfig({
"/en/room/**": { swr: 3600 },
"/en/poi/**": { swr: 3600 },
},
typescript: {
typeCheck: true,
strict: true,
},
});
2 changes: 1 addition & 1 deletion webclient/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare",
"type-check": "vue-tsc --noEmit",
"type-check": "nuxt typecheck",
"lint": "eslint . --ext .vue,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"format": "prettier --plugin=prettier-plugin-tailwindcss --write ."
},
Expand Down
1 change: 1 addition & 0 deletions webclient/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0aab96e

Please sign in to comment.