GitHub

Pre-commit Hooks Setup

Use the repo’s default tooling to run checks locally before you open a PR.

Standard Setup

  1. Read the project README for stack-specific steps.
  2. Install dependencies (example: pnpm install or npm install).
  3. If the repo uses pre-commit, run pre-commit install.
  4. Run the full check once: pre-commit run --all-files.

Expectations

  • Fix lint and formatting issues before committing.
  • Keep the hook configuration in the repo, not in local overrides.
Edit this page