Skip to content

Code-first video & image, rendered natively on WebGPU.

chore: pre-commit formats only staged files

okanasla1c22a081679
diff --git a/lefthook.yml b/lefthook.yml
index d3988617..c034aac7 100644
--- a/lefthook.yml
+++ b/lefthook.yml
@@ -3,4 +3,4 @@ pre-commit:
check:
glob: "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}"
stage_fixed: true
- run: pnpm exec biome check --write --no-errors-on-unmatched --files-ignore-unknown=true --colors=off || true
\ No newline at end of file
+ run: pnpm exec biome check --write --no-errors-on-unmatched --files-ignore-unknown=true --colors=off {staged_files} || true
\ No newline at end of file