mirror of
https://github.com/franalgaba/grimoire.git
synced 2026-09-14 20:26:31 +08:00
f1ee667c8a
* Add preview/commit execution model, remove stale docs and defihack * implement preview/commit flow end-to-end and remove spec-coupled naming * implement value-flow mandate and hook stability * fixed hook * fixed tests * fixed tests * fixed tests * fixed tests * value-flow mandate end-to-end * session lifecycle normalization * added new docs and skills * skill instructions
22 lines
426 B
YAML
22 lines
426 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 --max-concurrency=1
|
|
use_stdin: false
|
|
interactive: true
|