chore: add lefthook for lint staged

This commit is contained in:
Aarnav Tale
2025-01-20 08:26:00 +00:00
parent 2d47f1b952
commit 8d3f31e7f9
4 changed files with 108 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
pre-commit:
commands:
check:
glob: "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}"
run: pnpm biome check --write --no-errors-on-unmatched --files-ignore-unknown=true --colors=off {staged_files}
stage_fixed: true