chore: setup lefthook for pre-commit checks
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user