carloscuesta / carloscuesta/gitmoji-cli
Missing type in generated commit message
- Dominant language
- JavaScript
- Stars
- 4.8k
- Forks
- 212
- PR merge metrics
- No merged PRs in 30d
Description
### Discussion
For me, the structure of a commit message should always include the type (see also https://www.conventionalcommits.org/en/v1.0.0/#summary).
But the type is completely missing.
A correct commit message would be, for example:
```
feat(foo): ✨ add bar
```
But what gitmoji-cli generates for me is:
```
✨ (foo): add bar
```
Did I miss something in the configuration?
### Validations
- [x] Follow our [Code of Conduct](https://github.com/carloscuesta/gitmoji-cli/blob/master/CODE_OF_CONDUCT.md)
- [x] Read the [Contributing Guide](https://github.com/carloscuesta/gitmoji-cli/blob/master/.github/CONTRIBUTING.md).
- [x] Check that there isn't already an issue requesting the same feature.
Contributor guide
Research direction
Start by reproducing the generated commit message described in the issue and compare it with the requested Conventional Commits format. Trace the gitmoji-cli commit-message generation entry point to determine whether the type is omitted by default or controlled by configuration. Done means the generated message includes the type in the expected position, with relevant behavior verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100