xonecas.io
70160
Ce

cel-tui / commit 9c59431

chore: make pre-commit hook output concise

- bun run --silent: suppress command echo line
- prettier --log-level warn: hide per-file check list, only show warnings
- bun test --only-failures: show summary only, print details on failure
- Reduces pre-commit output from ~300 lines to ~10

xonecas2026-04-04 9c594319af44696838c93cf9c07a603b580ec0c9 parent 02d8ca1

1 file changed

lefthook.yml+6−6
@@ -1,11 +1,11 @@
11 pre-commit:
22 parallel: false
33 commands:
4- format:
5- run: bun run format
64 check:
7- run: bun run check
8- typecheck:
9- run: bun run typecheck
5+ run: bun run --silent check
6+ format:
7+ run: bun run --silent format -- --log-level warn
108 test:
11- run: bun test
9+ run: bun test --only-failures
10+ typecheck:
11+ run: bun run --silent typecheck