docs(work): close pre-commit-hooks-v1 epic
This commit is contained in:
@@ -3,23 +3,26 @@ id: 01-husky-install
|
||||
epic: pre-commit-hooks-v1
|
||||
title: Install husky + lint-staged
|
||||
type: technical-story
|
||||
status: in-progress
|
||||
status: done
|
||||
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/`
|
||||
|
||||
- [x] Story scaffold
|
||||
- [x] Install husky + lint-staged + add scripts/config
|
||||
- [x] Verify `pnpm install` initialises `.husky/`
|
||||
|
||||
Reference in New Issue
Block a user