UNPKG

@mediamonks/commitlint-issue-reference

Version:

Ensures your commit messages always include the same issue key as in your branch name

9 lines (8 loc) 208 B
export declare function getIssuePattern(prefixOrRegex?: string | { commit: string; branch?: string; }): { commitPattern: string; branchPattern: string; issuePrefix: string | undefined; };