tsc when linting

This commit is contained in:
Manav Rathi 2024-04-05 21:10:20 +05:30
parent 411984ebdc
commit 5c313fb87d
No known key found for this signature in database
2 changed files with 4 additions and 1 deletions

3
web/.gitignore vendored
View file

@ -10,6 +10,9 @@ node_modules/
# Local env files
.env*.local
# tsc
*.tsbuildinfo
# Vite
dist

View file

@ -27,7 +27,7 @@
"dev:payments": "yarn workspace payments dev",
"dev:photos": "yarn workspace photos next dev",
"dev:staff": "yarn workspace staff dev",
"lint": "yarn prettier --check . && yarn workspaces run eslint --report-unused-disable-directives",
"lint": "yarn prettier --check . && yarn workspaces run eslint --report-unused-disable-directives && yarn workspaces run tsc",
"lint-fix": "yarn prettier --write . && yarn workspaces run eslint --fix .",
"preview": "yarn preview:photos",
"preview:accounts": "yarn build:accounts && python3 -m http.server -d apps/accounts/out 3001",