chore: add git hook for validation#401
Conversation
|
There was a problem hiding this comment.
Pull request overview
This PR adds Husky-based Git hooks so local pushes are validated (typecheck, lint, tests) before being sent, helping catch issues earlier in contributor workflows.
Changes:
- Add
huskyas a dev dependency and enable it via thepreparescript. - Introduce a
.husky/pre-pushhook intended to runtsc,lint, andtest. - Update
pnpm-lock.yamlaccordingly.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
package.json |
Adds prepare script to initialize Husky and adds Husky to devDependencies. |
.husky/pre-push |
Adds a pre-push hook to run validation commands before pushing. |
pnpm-lock.yaml |
Locks the newly added Husky dependency. |
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
No description provided.