Category

Developer tooling

Articles

1 post · RSS

TECH

Jan 3, 2024 · 2 min read

Pre-commit hook setup with husky

Keeping code consistent and tested gets harder the more people touch a repo, and sooner or later some unlinted code or a failing test slips through. Husky heads that off by running linting, formatting, and tests automatically before a commit lands. This note sets up pre-commit hooks with Husky and lint-staged in a fresh NestJS project.

Continue reading →

© 2026 Rajan Kalwar

Privacy: analytics load only after consent.