relizy / CommitlintResult
Interface: CommitlintResult
Defined in: packages/core/src/commitlint/lint.ts:38
The result of the lint of one commit message
Properties
changelogTitle?
optionalchangelogTitle?:string
Defined in: packages/core/src/commitlint/lint.ts:48
Title of the changelog section of the commit, undefined when it does not appear in the changelog
commit
commit:
CommitlintCommit
Defined in: packages/core/src/commitlint/lint.ts:40
The parsed message
gitCommit?
optionalgitCommit?:GitCommit
Defined in: packages/core/src/commitlint/lint.ts:50
The commit as parsed like the release does, undefined when the header is not a conventional commit
ignored
ignored:
boolean
Defined in: packages/core/src/commitlint/lint.ts:42
Ignored commits (merge, fixup, release...) are not linted
problems
problems:
CommitlintProblem[]
Defined in: packages/core/src/commitlint/lint.ts:46
Errors and warnings, empty for a valid or ignored commit
suggestion?
optionalsuggestion?:CommitlintSuggestion
Defined in: packages/core/src/commitlint/lint.ts:52
A fixed header, when some errors of the header can be fixed safely
valid
valid:
boolean
Defined in: packages/core/src/commitlint/lint.ts:44
No error (warnings allowed)