👷 Add format/lint/typecheck hooks for Claude Code#6832
Conversation
- PostToolUse hook: auto-formats each edited file via `pnpm format:file` - Stop hook: runs `pnpm build:all`, `pnpm lint:check`, `pnpm typecheck:all` when Claude finishes, blocking on failure so Claude can fix issues - New `format:file` script in package.json for single-file prettier formatting https://claude.ai/code/session_01VZLtY5D9CR2k86oYkeg691
|
|
👋 It looks like the PR template was not used for this pull request. Please edit the PR description to use the template, or close this PR and open a new one that uses it. The template includes:
Thank you for your contribution! 🙏 |
@fast-check/ava
fast-check
@fast-check/jest
@fast-check/packaged
@fast-check/poisoning
@fast-check/vitest
@fast-check/worker
commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6832 +/- ##
=======================================
Coverage 94.86% 94.86%
=======================================
Files 209 209
Lines 5665 5665
Branches 1489 1488 -1
=======================================
Hits 5374 5374
Misses 283 283
Partials 8 8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
pnpm format:filepnpm build:all,pnpm lint:check,pnpm typecheck:allwhen Claude finishes, blocking on failure so Claude can fix issuesformat:filescript in package.json for single-file prettier formattinghttps://claude.ai/code/session_01VZLtY5D9CR2k86oYkeg691