commitlint-plugin-spend
Version:
A commitlint plugin that requires the GitLab /spend or /spend_time directive in commit messages
9 lines (8 loc) • 402 B
TypeScript
/**
* The GitLab spend commands.
* @see https://docs.gitlab.com/ee/user/project/quick_actions.html#issues-merge-requests-and-epics
*/
export declare const spendingCommands: readonly ["/spend", "/spend_time"];
export type SpendCommand = (typeof spendingCommands)[number];
export declare const spendCommandPattern: RegExp;
export declare function isSpendCommand(value: string): value is SpendCommand;