Expected Behavior
To be able to control full stops on my type-less, scope-less commit messages.
Current Behavior
I'm using commitlint with:
type-empty: [2, always]
scope-empty: [2, always]
According to the parser, I have an empty subject and what would usually be the subject, is understood by the parser to be the header. The header does not, at the moment, have a full stop setting. I'd love either header-full-stop or the parser recognising my subject correctly.
Affected packages
Steps to Reproduce (for bugs)
$ echo "Blah, blah, blah, blah, blah, blah." | commitlint
⧗ input: Blah, blah, blah, blah, blah, blah.
✔ found 0 problems, 0 warnings
.commitlintrc.yml
rules:
header-max-length: [2, always, 50]
header-min-length: [2, always, 1]
body-max-line-length: [2, always, 72]
body-min-length: [2, never]
footer-max-line-length: [2, always, 72]
footer-min-length: [2, never]
subject-max-length: [2, always, 50]
subject-min-length: [2, always, 1]
scope-empty: [2, always]
type-empty: [2, always]
signed-off-by: [2, never]
Your Environment
| Executable |
Version |
commitlint --version |
7.2.1 |
git --version |
2.20.0 |
node --version |
11.4.0 |
Expected Behavior
To be able to control full stops on my type-less, scope-less commit messages.
Current Behavior
I'm using
commitlintwith:According to the parser, I have an empty subject and what would usually be the subject, is understood by the parser to be the header. The header does not, at the moment, have a full stop setting. I'd love either
header-full-stopor the parser recognising my subject correctly.Affected packages
Steps to Reproduce (for bugs)
.commitlintrc.yml
rules: header-max-length: [2, always, 50] header-min-length: [2, always, 1] body-max-line-length: [2, always, 72] body-min-length: [2, never] footer-max-line-length: [2, always, 72] footer-min-length: [2, never] subject-max-length: [2, always, 50] subject-min-length: [2, always, 1] scope-empty: [2, always] type-empty: [2, always] signed-off-by: [2, never]Your Environment
commitlint --version7.2.1git --version2.20.0node --version11.4.0