commitizen / commitizen/cz-cli
"improvement" offered as an option but not in enum
- Vorherrschende Sprache
- JavaScript
- Sterne
- 17.5k
- Forks
- 566
- Ø Merge
- 8 Std. 16 Min.
- Gemergte PRs (30 T.)
- 1
Beschreibung
When using git cz, one option for a type to select is "improvement", but this fails the enum check
```
husky > commit-msg hook failed (add --no-verify to bypass)
git exited with error code 1
kris@Kriss-MacBook-Pro cent-admin % git cz
cz-cli@4.0.3, cz-conventional-changelog@3.0.1
? Select the type of change that you're committing:
revert: Reverts a previous commit
feat: A new feature
fix: A bug fix
❯ improvement: An improvement to a current feature
docs: Documentation only changes
⧗ input: improvement(employers): added new subscriptions
✖ type must be one of [build, chore, ci, docs, feat, fix, perf, refactor, revert, style, test] [type-enum]
✖ found 1 problems, 0 warnings
ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
```
Beitragsleitfaden
Rechercherichtung
Beginne damit, die Abweichung mit git cz unter Verwendung von cz-cli@4.0.3 und cz-conventional-changelog@3.0.1 nachzustellen, und verfolge dann, wie der commit-msg hook den ausgewählten Typ gegen das enum von commitlint validiert. Als erledigt gilt, dass die interaktiven Auswahlmöglichkeiten und die enum-Validierung dieselbe Menge von Typen akzeptieren und der gemeldete Befehl erfolgreich abgeschlossen wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript
- Bereich
- cli
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 42/100