chore: setup lefthook for pre-commit checks

This commit is contained in:
Ilia Mashkov
2026-04-23 21:00:43 +03:00
parent 1d333fd945
commit 68d5de3716
3 changed files with 122 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
pre-commit:
parallel: true
commands:
biome-check:
glob: "*.{js,ts,jsx,tsx,json,css}"
run: yarn biome check --write {staged_files}
stage_fixed: true
tests:
run: yarn test