chore: update pre-commit to include tsbuild check

This commit is contained in:
ramvignesh-b
2026-04-15 13:20:05 +05:30
parent 9f42012494
commit e8e9a402d6
+6
View File
@@ -18,3 +18,9 @@ pre-commit:
glob: "**/*.{js,ts,jsx,tsx}" glob: "**/*.{js,ts,jsx,tsx}"
run: bunx @biomejs/biome check --write --no-errors-on-unmatched {staged_files} run: bunx @biomejs/biome check --write --no-errors-on-unmatched {staged_files}
stage_fixed: true stage_fixed: true
# Frontend: TypeScript
tsc:
root: "frontend/"
glob: "**/*.ts, **/*.tsx"
run: bunx tsc --noEmit --incremental --tsBuildInfoFile --ignoreConfig .tsbuildinfo {staged_files}