conventional-changelog / conventional-changelog/commitlint

feat: actionable error message for BREAKING CHANGE subject

Open
#3,810 2 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
TypeScript
Stars
18.7k
Forks
970
Avg merge
7h 33m
Merged PRs (30d)
49

Description

### Expected Behavior

```
⧗ input: BREAKING CHANGE: use recommended `heroku/builder:22`
https://github.com/heroku/cnb-builder-images#available-images
✖ move BREAKING CHANGE to footer [change-in-subject]
✖ add type [type-empty]
✖ add subject [subject-empty]
✖ found 2 problems, 0 warnings
```

### Current Behavior

```
⧗ input: BREAKING CHANGE: use recommended `heroku/builder:22`
https://github.com/heroku/cnb-builder-images#available-images
✖ subject may not be empty [subject-empty]
✖ type may not be empty [type-empty]
✖ found 2 problems, 0 warnings
```

### Affected packages

- [X] cli
- [X] core
- [ ] prompt
- [ ] config-angular

### Possible Solution

_No response_

### Context

https://gitlab.com/gitlab-org/cluster-integration/auto-build-image/-/merge_requests/159#note_1672887099

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.