Pre-Commit
Noun · Development
Definitions
A Git hook that runs automatically before a commit is finalized, typically executing linters, formatters, type checkers, or secret scanners to enforce code quality standards. Also refers to the popular framework (pre-commit.com) that manages such hooks via a YAML config.
In plain English: An automatic check that reviews your code for problems right before you save a change, blocking the save if something is wrong.
Example: "The pre-commit hook caught a trailing debugger statement before it made it into the repo."