You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But commitlint throw an error when subject-case is either sentence-case, start-case, pascal-case, or upper-case.
>echo"fix: SOMEMESSAGE"| commitlint
⧗ input: fix: SOMEMESSAGE
✖ subject must not be sentence-case, start-case, pascal-case, upper-case [subject-case]
✖ found 1 problems, 0 warnings
ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
Rule and document do not match each other
Possible Solution
Please fix the documentation appropriately like below.
subject-case
condition: subject is in one of the cases ['sentence-case', 'start-case', 'pascal-case', 'upper-case']
rule: never ✨✨
level: error
echo"fix(SCOPE): Some message"# failsecho"fix(SCOPE): Some Message"# failsecho"fix(SCOPE): SomeMessage"# failsecho"fix(SCOPE): SOMEMESSAGE"# failsecho"fix(scope): some message"# passesecho"fix(scope): some Message"# passes
The text was updated successfully, but these errors were encountered:
Expected Behavior
According to the content here: https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional#subject-case, the subject-case always be either sentence-case, start-case, pascal-case, or upper-case.
If it's not, commitlint must throw an error.
Current Behavior
But commitlint throw an error when subject-case is either sentence-case, start-case, pascal-case, or upper-case.
Rule and document do not match each other
Possible Solution
Please fix the documentation appropriately like below.
subject-case
subject
is in one of the cases['sentence-case', 'start-case', 'pascal-case', 'upper-case']
never
✨✨error
The text was updated successfully, but these errors were encountered: