setup-pre-commit
Configure pre-commit quality checks with Husky and lint-staged while preserving package manager conventions. Use when setting up git pre-commit hooks, automated formatters, staged linters, or typecheck gates — even if the user says "add pre-commit hooks". Do NOT use for continuous integration (CI) pipeline setup.
Pinned to revision c17bbea17056, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.