Nayan c7da399cf3 chore(hooks): enforce conventional commits and the branch policy
commitlint has been sitting in the repo wired to nothing. Hook it up: commit-msg lints the
message, pre-commit formats staged files and blocks direct commits to main,
pre-push blocks pushing it.

The test suite deliberately does not run in pre-commit. It runs in checks.yml on
every PR and locally via `make preflight`, and a full `turbo run test` on every
commit would tax exactly the fast checkpoint commits this repo lives on while
catching nothing the PR gate would not.

A hook is only ever a courtesy — it can be skipped with --no-verify — so CI runs
the same rules over a PR's commits.
2026-07-25 11:58:00 +05:30
S
Description
No description provided
MIT
6.2 MiB
Languages
TypeScript 93.9%
CSS 3%
JavaScript 2.3%
Shell 0.5%
Makefile 0.3%