Add environment variable toggles to disable hooks per-project#10
Conversation
Hooks can now be disabled via LINT_ON_SAVE and RUN_TESTS_ON_STOP environment variables (both default to true). Set to "false" in .claude/settings.local.json to skip hooks for specific projects.
📝 WalkthroughWalkthroughThe pull request adds documentation for the Hooks feature and introduces configuration toggles to control hook behaviour. A new README explains available hooks and their triggers, whilst two TypeScript files are updated to support environment variables that conditionally disable lint/typecheck and test execution respectively. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (3)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (3)
✏️ Tip: You can disable this entire section by setting Comment |
Hooks can now be disabled via
LINT_ON_SAVEandRUN_TESTS_ON_STOPenvironment variables (both default to true). Set to"false"in.claude/settings.local.jsonto skip hooks for specific projects.Summary by CodeRabbit
New Features
Documentation
✏️ Tip: You can customize this high-level summary in your review settings.