From b1674c559aef483fb3264db2cbb0fafcc583f39b Mon Sep 17 00:00:00 2001 From: Cedric van Putten Date: Thu, 12 Sep 2019 19:48:56 +0000 Subject: [PATCH] fix(rules): use same parameter names in types --- @commitlint/rules/src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/@commitlint/rules/src/types.ts b/@commitlint/rules/src/types.ts index cb07498673..968f80f358 100644 --- a/@commitlint/rules/src/types.ts +++ b/@commitlint/rules/src/types.ts @@ -19,7 +19,7 @@ export type RuleOutcome = [boolean, string?]; * All rules should provide the most sensible rule condition and value. */ export type Rule = ( - parse: Commit, + parsed: Commit, when?: RuleCondition, value?: Value ) => RuleOutcome;