We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c9df11 commit 3b2f467Copy full SHA for 3b2f467
src/main/kotlin/com/github/lppedd/cc/language/lexer/conventionalCommit.flex
@@ -77,7 +77,8 @@ FooterType = [^:\s]+ | BREAKING\ CHANGE
77
}
78
79
<TYPE> {
80
- // The commit type must be at the beginning of the line, and cannot start with a '!'
+ // The commit type must be at the beginning of the line, and cannot start with a '!'.
81
+ // Note that we allow types with spaces inside, so that inspections can report issues.
82
^[^!(:\r\n][^(:\r\n]*\!? {
83
if (yycharat(yylength() - 1) == '!') {
84
yypushback(1);
0 commit comments