Setup Pre Commit

在当前仓库中设置带有 lint-staged (Prettier)、类型检查和测试的 Husky pre-commit hooks。当用户想要添加 pre-commit hooks、设置 Husky、配置 lint-staged 或添加提交时格式化/类型检查/测试时使用。 (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.)

ninehills Updated 276 repo stars
Skills

File contents

ninehills/mattpocock-skills commit a58e6553b7

Frequently asked questions

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