---
url: https://relizy.dev/typedoc/type-aliases/CommitlintRuleConfig.md
---
[relizy](../index.md) / CommitlintRuleConfig

# Type Alias: CommitlintRuleConfig\<Value>

> **CommitlintRuleConfig**<`Value`> = [`CommitlintRuleLevel`](CommitlintRuleLevel.md) | readonly \[[`CommitlintRuleLevel`](CommitlintRuleLevel.md)] | readonly \[[`CommitlintRuleLevel`](CommitlintRuleLevel.md), \[`Value`] *extends* \[`never`] ? `"always"` | `"never"` : `Value`] | readonly \[[`CommitlintRuleLevel`](CommitlintRuleLevel.md), `"always"` | `"never"`, `Value`]

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

Configuration of a commitlint rule: a level, a level and a value (ESLint style),
or a commitlint tuple `[level, 'always', value]` to ease migrations.
A rule without value accepts the commitlint tuple `[level, 'always']`.

## Type Parameters

### Value

`Value` = `unknown`
