tool: lefthook for commit hooks
This commit is contained in:
6
lefthook.yml
Normal file
6
lefthook.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
pre-commit:
|
||||
commands:
|
||||
check:
|
||||
glob: "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,svelte,json,jsonc}"
|
||||
run: npx @biomejs/biome check --write --no-errors-on-unmatched --files-ignore-unknown=true --colors=off {staged_files}
|
||||
stage_fixed: true
|
||||
Reference in New Issue
Block a user