Files
srjuggernaut_dev/.husky/install.mts
SrJuggernaut e343a1e252 chore: add Husky hooks for commitlint and lint-staged
- Install Husky with commit-msg and pre-commit hooks
- Add commitlint CLI and conventional config for enforcing commit message standards
- Configure pre-commit to run lint-staged for code quality checks
- Update bun.lock with new dev dependencies

This setup ensures consistent commit messages and automated linting before commits.
2026-02-02 14:25:54 -06:00

9 lines
286 B
TypeScript

if (process.env.NODE_ENV === 'production' || process.env.CI === 'true') {
console.log(
'Skipping husky install. If you are in a CI, Building or Production environment you can ignore this.'
)
process.exit(0)
}
const husky = (await import('husky')).default
console.log(husky())