Skip to content

Commit 466c4ad

Browse files
committed
chore: format files on pre commit
1 parent 7e440ca commit 466c4ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lefthook.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ pre-commit:
33
commands:
44
check:
55
glob: "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}"
6-
run: npx @biomejs/biome check --no-errors-on-unmatched --files-ignore-unknown=true {staged_files}
6+
run: npx @biomejs/biome check --write --no-errors-on-unmatched --files-ignore-unknown=true {staged_files} && git update-index --again

0 commit comments

Comments
 (0)