relizy / CommitlintConfig
Interface: CommitlintConfig
Defined in: packages/relizy/src/types.ts:1752
Properties
changelogLinter?
optionalchangelogLinter?:CommitlintChangelogLinter
Defined in: packages/relizy/src/types.ts:1799
Tool checking the changelog entry of a commit, as written in the changelogs (body-changelog-lint): the whole entry with ESLint, its code blocks with oxc.
Default
'auto'customRules?
optionalcustomRules?:Record<string,CommitlintCustomRule>
Defined in: packages/relizy/src/types.ts:1775
Rules written as functions, keyed by name. Their level is set in rules and defaults to error.
defaultIgnores?
optionaldefaultIgnores?:boolean
Defined in: packages/relizy/src/types.ts:1786
Ignore merge commits, fixup!, squash! and amend! commits, and the release commits of relizy.
Default
truehelpUrl?
optionalhelpUrl?:string
Defined in: packages/relizy/src/types.ts:1803
URL printed with the errors, e.g. the commit guidelines of the team.
ignores?
optionalignores?: (RegExp| ((message) =>boolean))[]
Defined in: packages/relizy/src/types.ts:1780
Messages to ignore, in addition to the default ones: a regular expression tested against the header, or a function receiving the raw message.
packages?
optionalpackages?:string[]
Defined in: packages/relizy/src/types.ts:1758
Glob patterns of directories to treat as workspace packages for the scopes, in addition to monorepo.packages, e.g. apps that are never released.
Example
['apps/*']rules?
optionalrules?:CommitlintRulesConfig
Defined in: packages/relizy/src/types.ts:1770
Level and value of the built-in and custom rules.
Example
{ 'header-max-length': ['error', 200], 'scope-required': ['error', 'when-bumping'] }scopes?
optionalscopes?:string[]
Defined in: packages/relizy/src/types.ts:1765
Scopes allowed in addition to the workspace packages (short name, full name or folder) and the scopeMap keys. In standalone mode, scopes are free unless this list is set.
Example
['ci', 'deps', 'release']title?
optionaltitle?:boolean
Defined in: packages/relizy/src/types.ts:1792
In the CI of a pull/merge request, also lint its title, which becomes the commit message of a squash merge. Overridden by --title and --no-title.
Default
false