docs(work): scaffold pre-commit-hooks-v1 epic + stories

This commit is contained in:
2026-05-13 07:52:29 +02:00
parent ef64c015e0
commit a2eeccfd9d
4 changed files with 79 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
---
id: 01-husky-install
epic: pre-commit-hooks-v1
title: Install husky + lint-staged
type: technical-story
status: in-progress
feature: tooling
depends-on: []
blocks: [02-pre-commit-hook]
---
## Goal
husky + lint-staged are dependencies of the root workspace and the
`prepare` script wires the hooks on `pnpm install`.
## In scope
- Add husky + lint-staged to root devDependencies
- Add `prepare` script that runs `husky` (initialises `.husky/`)
- Create `.husky/` directory + the husky shim
- Add `lint-staged` config to root package.json
## Tasks
- [ ] Story scaffold
- [ ] Install husky + lint-staged + add scripts/config
- [ ] Verify `pnpm install` initialises `.husky/`