mirror of
https://github.com/franalgaba/grimoire.git
synced 2026-09-14 20:26:31 +08:00
20 lines
359 B
YAML
20 lines
359 B
YAML
# Lefthook configuration for pre-commit hooks
|
|
# Install with: bun add -D lefthook && bunx lefthook install
|
|
|
|
pre-commit:
|
|
parallel: true
|
|
commands:
|
|
lint:
|
|
glob: "*.{js,ts,jsx,tsx,json}"
|
|
run: bun run lint
|
|
stage_fixed: true
|
|
|
|
typecheck:
|
|
run: bun run typecheck
|
|
|
|
pre-push:
|
|
parallel: true
|
|
commands:
|
|
test:
|
|
run: bun test
|