Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

tsc when linting

Manav Rathi5c313fb87da5
diff --git a/web/.gitignore b/web/.gitignore
index 6911bdb01d..68554d3aef 100644
--- a/web/.gitignore
+++ b/web/.gitignore
@@ -10,6 +10,9 @@ node_modules/
# Local env files
.env*.local
+# tsc
+*.tsbuildinfo
+
# Vite
dist
diff --git a/web/package.json b/web/package.json
index 3b8697bd8c..606ee14cdf 100644
--- a/web/package.json
+++ b/web/package.json
@@ -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",