Setup Pre Commit

Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.

mattpocock Updated 325k repo stars
Skills

File contents

mattpocock/skills commit 4ae2317ddb

Frequently asked questions

npx get-skill add mattpocock/setup-pre-commit