- Implements conditional activation logic in husky.sh helper script - Updates pre-commit hook to run linting only when enabled - Updates commit-msg hook to validate messages only when enabled - Adds .husky-enabled to .gitignore for user-specific activation - Creates user activation instructions in .husky/README.md - Provides graceful fallback when hooks are disabled Activation: Environment variable, local file, or global config Hooks: Pre-commit (linting) and commit-msg (validation) Behavior: Optional activation with helpful instructions when disabled
281 B
Executable File
281 B
Executable File