Skip to content

Commit

Permalink
chore: use biome ci command
Browse files Browse the repository at this point in the history
  • Loading branch information
sbsrnt committed Mar 22, 2024
1 parent 8ee27df commit 3a1ab42
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/lefthook-config/lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ pre-commit:
glob: "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc,yml,yaml}"
run: npx biome check --no-errors-on-unmatched --files-ignore-unknown=true {staged_files}

"lint:apply":
glob: "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc,yml,yaml}"
run: npx biome check --apply --no-errors-on-unmatched --files-ignore-unknown=true {staged_files} && git update-index --again

"typecheck":
glob: "*.{ts,tsx}"
run: npx tsc --noEmit
Expand Down

0 comments on commit 3a1ab42

Please sign in to comment.