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

# Interface: CommitlintBuiltInRules

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

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

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

```ts
'error'
```

***

### body-changelog-lint

> **body-changelog-lint**: `never`

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

The commit, rendered as in the changelogs, passes the lint of the changelogs.

#### Default

```ts
'error'
```

***

### body-leading-blank

> **body-leading-blank**: `never`

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

A blank line separates the header from the body.

#### Default

```ts
'error'
```

***

### body-markdown

> **body-markdown**: `never`

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

The markdown of the body is valid: code blocks closed, links with a URL.

#### Default

```ts
'error'
```

***

### body-no-headings

> **body-no-headings**: `never`

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

The body has no markdown headings, which would break the changelog.

#### Default

```ts
'error'
```

***

### header-format

> **header-format**: `never`

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

The header follows `type(scope)!: subject`.

#### Default

```ts
'error'
```

***

### header-max-length

> **header-max-length**: `number`

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

Maximum length of the header.

#### Default

```ts
['error', 500]
```

***

### no-ai-attribution

> **no-ai-attribution**: `object`

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

The message does not credit an AI tool: no AI co-author (`Co-authored-by: Claude <noreply@anthropic.com>`),
no session trailer (`Claude-Session:`), no "Generated with" line. The value adds
names or emails of AI authors (matched as substrings) and trailers.

#### authors?

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

#### trailers?

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

#### Default

```ts
'error'
```

***

### no-breaking

> **no-breaking**: `never`

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

Breaking changes are not allowed.

#### Default

```ts
'off'
```

***

### scope-enum

> **scope-enum**: `never`

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

The scope is a workspace package, a `scopeMap` key or one of `commitlint.scopes`.

#### Default

```ts
'error'
```

***

### scope-matches-files

> **scope-matches-files**: `never`

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

The scope designates a package touched by the commit.

#### Default

```ts
'error'
```

***

### scope-required

> **scope-required**: `"never"` | `"always"` | `"when-bumping"`

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

The scope is required (`'always'`), forbidden (`'never'`), or required on
the commits bumping a version and touching a released package (`'when-bumping'`).

#### Default

```ts
['error', 'when-bumping']
```

***

### single-package

> **single-package**: `object`

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

A commit bumping a version touches a single released package. The commits
whose scope is in `exceptScopes` can touch several: the value replaces the default list.

#### exceptScopes?

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

#### Default

```ts
['error', { exceptScopes: ['deps'] }]
```

***

### subject-case

> **subject-case**: `never`

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

The subject starts with a lowercase letter. Off by default: the changelog
capitalizes the subject anyway.

#### Default

```ts
'off'
```

***

### subject-full-stop

> **subject-full-stop**: `never`

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

The subject does not end with a period.

#### Default

```ts
'error'
```

***

### subject-meaningful

> **subject-meaningful**: `object`

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

The subject describes the change, with a minimum of words or characters.

#### minLength?

> `optional` **minLength?**: `number`

#### minWords?

> `optional` **minWords?**: `number`

#### Default

```ts
['error', { minWords: 2, minLength: 15 }]
```

***

### type-enum

> **type-enum**: `string`\[]

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

The type is one of the relizy `types`, or one of the extra types given as value.

#### Default

```ts
'error'
```
