Skip to content

Commit 007aed2

Browse files
committed
fix(rules): use same parameter names in types
1 parent ca43677 commit 007aed2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

@commitlint/rules/src/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export type RuleOutcome = [boolean, string?];
1919
* All rules should provide the most sensible rule condition and value.
2020
*/
2121
export type Rule<Value = never> = (
22-
parse: Commit,
22+
parsed: Commit,
2323
when?: RuleCondition,
2424
value?: Value
2525
) => RuleOutcome;

0 commit comments

Comments
 (0)