---
url: https://relizy.dev/typedoc/interfaces/CommitlintCommit.md
---
[relizy](../index.md) / CommitlintCommit

# Interface: CommitlintCommit

Defined in: [packages/core/src/commitlint/types.ts:134](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/core/src/commitlint/types.ts#L134)

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:140](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/core/src/commitlint/types.ts#L140)

Text between the header and the footer

***

### bump?

> `optional` **bump?**: [`SemverBumpType`](../type-aliases/SemverBumpType.md)

Defined in: [packages/core/src/commitlint/types.ts:152](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/core/src/commitlint/types.ts#L152)

Version bump the commit triggers, computed by relizy from `types`

***

### files?

> `optional` **files?**: `string`\[]

Defined in: [packages/core/src/commitlint/types.ts:156](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/core/src/commitlint/types.ts#L156)

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:142](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/core/src/commitlint/types.ts#L142)

Trailing block of `Token: value` lines (`BREAKING CHANGE:`, `Closes #12`...)

***

### hash?

> `optional` **hash?**: `string`

Defined in: [packages/core/src/commitlint/types.ts:162](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/core/src/commitlint/types.ts#L162)

Hash of the commit, when linting a range

***

### header

> **header**: `string`

Defined in: [packages/core/src/commitlint/types.ts:138](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/core/src/commitlint/types.ts#L138)

First line of the message

***

### isBreaking

> **isBreaking**: `boolean`

Defined in: [packages/core/src/commitlint/types.ts:150](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/core/src/commitlint/types.ts#L150)

Breaking change as detected by relizy (`!` or `breaking change:` in the body)

***

### packages?

> `optional` **packages?**: `string`\[]

Defined in: [packages/core/src/commitlint/types.ts:158](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/core/src/commitlint/types.ts#L158)

Names of the workspace packages touched by `files`

***

### raw

> **raw**: `string`

Defined in: [packages/core/src/commitlint/types.ts:136](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/core/src/commitlint/types.ts#L136)

Full message, comments removed

***

### references

> **references**: [`Reference`](Reference.md)\[]

Defined in: [packages/core/src/commitlint/types.ts:154](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/core/src/commitlint/types.ts#L154)

Pull request, issue and hash references found by relizy

***

### releasedPackages?

> `optional` **releasedPackages?**: `string`\[]

Defined in: [packages/core/src/commitlint/types.ts:160](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/core/src/commitlint/types.ts#L160)

Names of the released workspace packages touched by `files` (see `WorkspacePackage.released`)

***

### scope

> **scope**: `string`

Defined in: [packages/core/src/commitlint/types.ts:146](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/core/src/commitlint/types.ts#L146)

Scope, as written in the header

***

### subject

> **subject**: `string`

Defined in: [packages/core/src/commitlint/types.ts:148](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/core/src/commitlint/types.ts#L148)

Description of the header, as written

***

### type

> **type**: `string`

Defined in: [packages/core/src/commitlint/types.ts:144](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/core/src/commitlint/types.ts#L144)

Type, empty when the header is not a conventional commit
