Pre-commit Hooks Setup
Use the repo’s default tooling to run checks locally before you open a PR.
Standard Setup
- Read the project README for stack-specific steps.
- Install dependencies (example:
pnpm installornpm install). - If the repo uses
pre-commit, runpre-commit install. - 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.