docs(work): scaffold pre-commit-hooks-v1 epic + stories
This commit is contained in:
25
docs/work/pre-commit-hooks-v1/01-husky-install/_story.md
Normal file
25
docs/work/pre-commit-hooks-v1/01-husky-install/_story.md
Normal 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/`
|
||||
Reference in New Issue
Block a user