Files
agentic-dev/docs/work/pre-commit-hooks-v1/01-husky-install/_story.md

679 B

id, epic, title, type, status, feature, depends-on, blocks
id epic title type status feature depends-on blocks
01-husky-install pre-commit-hooks-v1 Install husky + lint-staged technical-story in-progress tooling
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/