tsc when linting
This commit is contained in:
parent
411984ebdc
commit
5c313fb87d
2 changed files with 4 additions and 1 deletions
3
web/.gitignore
vendored
3
web/.gitignore
vendored
|
@ -10,6 +10,9 @@ node_modules/
|
|||
# Local env files
|
||||
.env*.local
|
||||
|
||||
# tsc
|
||||
*.tsbuildinfo
|
||||
|
||||
# Vite
|
||||
dist
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue