# Format + lint the staged files, then run the full verify gate. # At this project's size all three finish in ~2s; if the suite grows slow, # move typecheck/test to a pre-push hook and leave lint-staged here. npx lint-staged && npm run typecheck && npm test