Skip to content

Commit

Permalink
chore: use biome check in pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsquest committed Nov 11, 2024
1 parent 6ce477c commit 8e86698
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lefthook.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
pre-commit:
parallel: true
commands:
format:
run: bun biome format --fix --no-errors-on-unmatched {staged_files}
lint:
run: bun biome lint --fix --no-errors-on-unmatched --error-on-warnings {staged_files}
check:
run: bun biome check --no-errors-on-unmatched --files-ignore-unknown=true --error-on-warnings --fix {staged_files}
stage_fixed: true
ts:
run: bun tsc --noEmit
test:
Expand Down

0 comments on commit 8e86698

Please sign in to comment.