UNPKG

708 BTypeScriptView Raw
1import type { RuleConfigCondition, RuleConfigSeverity } from '@commitlint/types';
2export declare type RuleEntry = [string, Readonly<[RuleConfigSeverity.Disabled]>] | [string, Readonly<[RuleConfigSeverity, RuleConfigCondition]>] | [string, Readonly<[RuleConfigSeverity, RuleConfigCondition, unknown]>];
3export declare type InputSetting = {
4 description?: string;
5 enumerables?: Record<string, {
6 description: string;
7 }>;
8 multiline?: boolean;
9 header?: {
10 length?: number;
11 };
12};
13export declare type ResultPart = 'type' | 'scope' | 'subject' | 'body' | 'footer';
14export declare type Result = Partial<Record<ResultPart, string | undefined>>;
15//# sourceMappingURL=types.d.ts.map
\No newline at end of file