Closed
Description
Expected Behavior
subject-full-stop should flag commit msg as wrong.
Current Behavior
subject-full-stop considers commit msg as fine.
Affected packages
- cli
- core
- prompt
- config-angular
Possible Solution
No response
Steps to Reproduce
- Configure commitlint with:
module.exports = {
parserPreset: "conventional-changelog-conventionalcommits",
rules: {
"type-enum": [
RuleConfigSeverity.Error,
"always",
["fix", "docs", "ci.build", "ci.tests"],
],
"subject-full-stop": [RuleConfigSeverity.Error, "never", "."],
- Commit with a msg "fix: foo", commitlint exit code is 0: good.
- Commit with a msg "fix: foo.", commitlint exit code is not 0: good.
- Commit with a msg "ci.build: foo.", commitlint exit code is 0: bug.
Context
No response
commitlint --version
17.0.0
git --version
2.34.1
node --version
12.22.9