Skip to content

Commit

Permalink
fix(build): add flag to tsc to ignore warnings
Browse files Browse the repository at this point in the history
tsc will throw errors that are reported by warnings as eslint. To ignore all errors except critical
ones, I added the --noCheck flag. More context here:
microsoft/TypeScript#29651
  • Loading branch information
0-BSCode committed Jan 9, 2025
1 parent 4526fc0 commit af66109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"dev": "vite --host",
"build": "tsc -b && vite build",
"build": "tsc -b --noCheck && vite build",
"preview": "vite preview --host",
"lint": "eslint --fix --no-error-on-unmatched-pattern ./src/**/*.{ts,tsx}",
"format": "prettier --write \"./src/**/*.+(tsx|ts|json|html|css)\"",
Expand Down

0 comments on commit af66109

Please sign in to comment.