Files
household-bot/lefthook.yml
whekin 3675079a4c fix(review): address CodeRabbit review feedback
- Guard prepare script for Docker builds without .git
- Add pre-push hook for heavier quality gates (typecheck/test/build)
- Pin drizzle-orm version in scripts/package.json
- Add E2E_SMOKE_ALLOW_WRITE opt-in guard via e2eEnv abstraction
- Create @household/config env-e2e.ts using same t3-env + zod pattern
- Make e2e teardown robust with optional chaining + allSettled
- Fix markdown code block language identifier (MD040)
- Fix CI integration docs to reflect actual workflow
2026-03-05 21:13:38 +04:00

22 lines
361 B
YAML

# lefthook.yml
pre-commit:
parallel: true
commands:
format:
glob: '*.{ts,tsx,js,jsx,json,md}'
run: bun run format:check
lint:
glob: '*.{ts,tsx,js,jsx}'
run: bun run lint
pre-push:
parallel: true
commands:
typecheck:
run: bun run typecheck
test:
run: bun run test
build:
run: bun run build