UNPKG

@mediamonks/commitlint-issue-reference

Version:

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

14 lines (13 loc) 489 B
export type LintOptions = { file?: string; message?: string; branch?: string; configFile?: string; autoAdd?: boolean; location?: 'header' | 'footer'; issuePrefix?: string; issueCommitPattern?: string; issueBranchPattern?: string; debug?: boolean; }; export default function processCommitMessage({ file, message, branch, configFile, autoAdd, location, issuePrefix, issueCommitPattern, issueBranchPattern, debug, }: LintOptions): boolean | undefined;