Skip to content

RuleMeta

Defined in: rule.ts:83

category: string

Defined in: rule.ts:87

Category id this rule belongs to (defined by the rulepack).


optional defaultSeverity?: ActiveSeverity

Defined in: rule.ts:92

Severity applied when the rule is turned on without an explicit level.


docs: object

Defined in: rule.ts:88

description: string

optional url?: string


optional fixable?: "text"

Defined in: rule.ts:94

Present if the rule can emit an autofix.


optional messages?: Record<string, string>

Defined in: rule.ts:90

messageId → template string, {{key}} interpolated from report data.


name: string

Defined in: rule.ts:85

Short name, unique within its rulepack (e.g. ‘corrective-antithesis’).