Skip to content

Commit

Permalink
pre-commit -> lefthook
Browse files Browse the repository at this point in the history
  • Loading branch information
starsep committed Jan 28, 2024
1 parent 1cc8c8e commit 22603dc
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .pre-commit-config.yaml

This file was deleted.

19 changes: 19 additions & 0 deletions lefthook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# https://github.com/evilmartians/lefthook/blob/master/docs/configuration.md
pre-commit:
parallel: true
commands:
biome:
run: biome check .
test:
run: bun test

skip_output:
- meta # Skips lefthook version printing
- summary # Skips summary block (successful and failed steps) printing
- empty_summary # Skips summary heading when there are no steps to run
- success # Skips successful steps printing
# - failure # Skips failed steps printing
- execution # Skips printing any execution logs (but prints if the execution failed)
- execution_out # Skips printing execution output (but still prints failed commands output)
# - execution_info # Skips printing `EXECUTE > ...` logging
- skips # Skips "skip" printing (i.e. no files matched)

0 comments on commit 22603dc

Please sign in to comment.