Skip to content

relizy / CommitlintCustomRuleOutcome

Type Alias: CommitlintCustomRuleOutcome ​

CommitlintCustomRuleOutcome = boolean | string | [boolean, string?]

Defined in: packages/core/src/commitlint/types.ts:180

What a custom rule returns: true (valid), false or an error message (invalid), or [valid, message?]