---
url: https://relizy.dev/typedoc/functions/lintCommitMessage.md
---
[relizy](../index.md) / lintCommitMessage

# Function: lintCommitMessage()

> **lintCommitMessage**(`message`, `options`): `Promise`<[`CommitlintResult`](../interfaces/CommitlintResult.md)>

Defined in: [packages/relizy/src/core/commitlint/lint.ts:72](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/relizy/src/core/commitlint/lint.ts#L72)

Lint a commit message with the relizy config: the same parser and types as the
release, the workspace packages for the scopes, the changelog rendering for the body.

## Parameters

### message

`string`

### options

[`LintCommitMessageOptions`](../interfaces/LintCommitMessageOptions.md)

## Returns

`Promise`<[`CommitlintResult`](../interfaces/CommitlintResult.md)>
