relizy / CommitlintCommit
Interface: CommitlintCommit
Defined in: packages/core/src/commitlint/types.ts:128
A commit message parsed by the linter, with the commitlint field names, enriched with what the linter knows about the commit.
Properties
body
body:
string
Defined in: packages/core/src/commitlint/types.ts:134
Text between the header and the footer
bump?
optionalbump?:SemverBumpType
Defined in: packages/core/src/commitlint/types.ts:146
Version bump the commit triggers, computed by relizy from types
files?
optionalfiles?:string[]
Defined in: packages/core/src/commitlint/types.ts:150
Changed files (staged files, or the files of the commit in a range), when known
footer
footer:
string
Defined in: packages/core/src/commitlint/types.ts:136
Trailing block of Token: value lines (BREAKING CHANGE:, Closes #12...)
hash?
optionalhash?:string
Defined in: packages/core/src/commitlint/types.ts:154
Hash of the commit, when linting a range
header
header:
string
Defined in: packages/core/src/commitlint/types.ts:132
First line of the message
isBreaking
isBreaking:
boolean
Defined in: packages/core/src/commitlint/types.ts:144
Breaking change as detected by relizy (! or breaking change: in the body)
packages?
optionalpackages?:string[]
Defined in: packages/core/src/commitlint/types.ts:152
Names of the workspace packages touched by files
raw
raw:
string
Defined in: packages/core/src/commitlint/types.ts:130
Full message, comments removed
references
references:
Reference[]
Defined in: packages/core/src/commitlint/types.ts:148
Pull request, issue and hash references found by relizy
scope
scope:
string
Defined in: packages/core/src/commitlint/types.ts:140
Scope, as written in the header
subject
subject:
string
Defined in: packages/core/src/commitlint/types.ts:142
Description of the header, as written
type
type:
string
Defined in: packages/core/src/commitlint/types.ts:138
Type, empty when the header is not a conventional commit