commitizen / commitizen/cz-cli
Add `pre-commit` hook that will run Commitizen on `git commit`
- Langage dominant
- JavaScript
- Étoiles
- 17.5k
- Forks
- 566
- Merge moyen
- 8 h 16 min
- PR mergées (30 j)
- 1
Description
## Background
[pre-commit](https://pre-commit.com/index.html) is a package manager for git hooks. The project allows hooks to be downloaded locally and run in an isolated environment. This allows for easy adoption of hooks written in a variety of languages and allows for quick adoption by contributors who are unfamiliar with any particular hook.
## Possible Solution
This project can make itself `pre-commit` compatible by adding a `.pre-commit-hooks.yaml` file. You can use this file to make your existing `prepare-commit-msg ` hook and the Commitizen project as a whole more accessible.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Start with the proposed .pre-commit-hooks.yaml file and inspect how the existing prepare-commit-msg hook is defined in this repository. Check the pre-commit hook manifest requirements and verify that pre-commit can expose and run the Commitizen hook; done means the project is usable through pre-commit as described.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript
- Domaine
- cli, tooling
- Type d'issue
- Fonctionnalité
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100