Conversation
Replace the hand-rolled .githooks/pre-commit script with prek, matching the setup used in roborev. The local hook runs `make lint` which now includes `--fix` for auto-formatting. A separate `lint-ci` target preserves the no-fix behavior for CI. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
roborev: Combined Review (
|
Avoids legacy migration mode where prek would run both the old and new hook on every commit. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
roborev: Combined Review (
|
|
Invalid |
Summary
.githooks/pre-commitscript with prek for managing pre-commit hooks (matching roborev setup)make lintnow runsgolangci-lint run --fixto auto-fix formatting issues on commitmake lint-citarget preserves the no-fix behavior for CITest plan
brew install prek && make install-hooksinstalls the hookprek run --all-filespasses🤖 Generated with Claude Code