Skip to content

relizy / CommitlintCustomRule

Type Alias: CommitlintCustomRule ​

CommitlintCustomRule = CoreCommitlintCustomRule<ResolvedRelizyConfig>

Defined in: packages/relizy/src/types.ts:1750

A rule written as a function. Returns true when the commit is valid, an error message (or false) otherwise, or a commitlint-style [valid, message?] tuple so commitlint-plugin-function-rules rules can be copied as is. It receives the resolved relizy config in its context.