We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59b7905 commit 9f20453Copy full SHA for 9f20453
validator.sh
@@ -8,7 +8,7 @@ readonly HEADER_PATTERN="^([^\(]+)\(([^\)]+)\): (.+)$"
8
readonly TYPE_PATTERN="^(feat|fix|docs|gen|lint|refactor|test|chore)$"
9
readonly SCOPE_PATTERN="^([a-z][a-z0-9]*)(-[a-z0-9]+)*$"
10
readonly SUBJECT_PATTERN="^([A-Za-z0-9].*[^ ^\.])$"
11
-readonly JIRA_PATTERN="[A-Z]{2,6}[0-9]{0,6}-[0-9]{1,6}"
+readonly JIRA_PATTERN="[A-Z]{2,7}[0-9]{0,6}-[0-9]{1,6}"
12
readonly JIRA_FOOTER_PATTERN="^(${JIRA_PATTERN} ?)+$"
13
readonly JIRA_HEADER_PATTERN="^.*[^A-Z](${JIRA_PATTERN}).*$"
14
readonly BROKE_PATTERN="^BROKEN:$"
0 commit comments