relizy / CommitlintBuiltInRules
Interface: CommitlintBuiltInRules
Defined in: packages/core/src/commitlint/types.ts:25
The built-in rules of relizy commitlint, with the type of their value (never when the rule has no value).
See
https://relizy.dev/commitlint/rules
Properties
body-breaking-change
body-breaking-change:
never
Defined in: packages/core/src/commitlint/types.ts:98
A breaking change is only declared with ! in the header or a BREAKING CHANGE: footer, as relizy bumps the major version wherever breaking change: appears.
Default
'error'body-changelog-lint
body-changelog-lint:
never
Defined in: packages/core/src/commitlint/types.ts:92
The commit, rendered as in the changelogs, passes the lint of the changelogs.
Default
'error'body-leading-blank
body-leading-blank:
never
Defined in: packages/core/src/commitlint/types.ts:77
A blank line separates the header from the body.
Default
'error'body-markdown
body-markdown:
never
Defined in: packages/core/src/commitlint/types.ts:87
The markdown of the body is valid: code blocks closed, links with a URL.
Default
'error'body-no-headings
body-no-headings:
never
Defined in: packages/core/src/commitlint/types.ts:82
The body has no markdown headings, which would break the changelog.
Default
'error'header-format
header-format:
never
Defined in: packages/core/src/commitlint/types.ts:30
The header follows type(scope)!: subject.
Default
'error'header-max-length
header-max-length:
number
Defined in: packages/core/src/commitlint/types.ts:35
Maximum length of the header.
Default
['error', 500]no-ai-attribution
no-ai-attribution:
object
Defined in: packages/core/src/commitlint/types.ts:110
The message does not credit an AI tool: no AI co-author (Co-authored-by: Claude <[email protected]>), no session trailer (Claude-Session:), no "Generated with" line. The value adds names or emails of AI authors (matched as substrings) and trailers.
authors?
optionalauthors?:string[]
trailers?
optionaltrailers?:string[]
Default
'error'no-breaking
no-breaking:
never
Defined in: packages/core/src/commitlint/types.ts:103
Breaking changes are not allowed.
Default
'off'scope-enum
scope-enum:
never
Defined in: packages/core/src/commitlint/types.ts:45
The scope is a workspace package, a scopeMap key or one of commitlint.scopes.
Default
'error'scope-matches-files
scope-matches-files:
never
Defined in: packages/core/src/commitlint/types.ts:56
The scope designates a package touched by the commit.
Default
'error'scope-required
scope-required:
"never"|"always"|"when-bumping"
Defined in: packages/core/src/commitlint/types.ts:51
The scope is required ('always'), forbidden ('never'), or required on the commits bumping a version ('when-bumping').
Default
['off', 'always']subject-case
subject-case:
never
Defined in: packages/core/src/commitlint/types.ts:62
The subject starts with a lowercase letter. Off by default: the changelog capitalizes the subject anyway.
Default
'off'subject-full-stop
subject-full-stop:
never
Defined in: packages/core/src/commitlint/types.ts:67
The subject does not end with a period.
Default
'error'subject-meaningful
subject-meaningful:
object
Defined in: packages/core/src/commitlint/types.ts:72
The subject describes the change, with a minimum of words or characters.
minLength?
optionalminLength?:number
minWords?
optionalminWords?:number
Default
['error', { minWords: 2, minLength: 15 }]type-enum
type-enum:
string[]
Defined in: packages/core/src/commitlint/types.ts:40
The type is one of the relizy types, or one of the extra types given as value.
Default
'error'