mirror of
https://github.com/ramvignesh-b/pi-ku.git
synced 2026-05-04 08:56:52 +00:00
chore: update pre-commit to include tsbuild check
This commit is contained in:
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user