Open
Description
Steps to Reproduce
- Create a breaking commit using exclamation mark, like
feat!: awesome feature
. - Try to push
// package.json
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
}
// .commitlintrc
{
"extends": [
"@commitlint/config-conventional"
]
}
Output error
β§ input: feat!: awesome feature
β subject may not be empty [subject-empty]
β type may not be empty [type-empty]
β found 2 problems, 0 warnings
β Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
Current Behavior
feat!: awesome feature
commit fail using @commitlint/config-conventional
.
Expected Behavior
feat!: awesome feature
commit should be accepted using @commitlint/config-conventional
.
Affected packages
- cli
- core
- prompt
- config-angular
- @commitlint/config-conventional
Possible Solution
No response
Context
No response
commitlint --version
19.5.0
git --version
2.39.3
node --version
20.10.0