Skip to content

Commit

Permalink
chore: Update lefthook.yml to use npx biome check --write command
Browse files Browse the repository at this point in the history
  • Loading branch information
coderfe committed Jul 6, 2024
1 parent a9123c6 commit ae8dc51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ pre-commit:
commands:
check:
glob: "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc,astro}"
run: npx biome check --apply --no-errors-on-unmatched --files-ignore-unknown=true {staged_files} && git update-index --again
run: npx biome check --write --no-errors-on-unmatched --files-ignore-unknown=true {staged_files} && git update-index --again

0 comments on commit ae8dc51

Please sign in to comment.