All topics / pre-commit Hooks

pre-commit Hooks

Catch problems before they're committed: the pre-commit framework runs formatters, linters, and secret scanners automatically on every git commit.

  1. What a Hook Actually Is
  2. The Config and the Commit Loop
  3. Bypassing, CI, and the Gotchas