Skip to content

Commit c3bef38

Browse files
chanceaclarkAdeAttwood
authored andcommitted
fix(types): adds TargetCaseType[] for CaseRuleConfig
1 parent 23a6baa commit c3bef38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: @commitlint/types/src/rules.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export type RuleConfig<
7777

7878
export type CaseRuleConfig<V = RuleConfigQuality.User> = RuleConfig<
7979
V,
80-
TargetCaseType
80+
TargetCaseType | TargetCaseType[]
8181
>;
8282
export type LengthRuleConfig<V = RuleConfigQuality.User> = RuleConfig<
8383
V,

0 commit comments

Comments
 (0)