RuleMeta
Defined in: rule.ts:83
Properties
Section titled “Properties”category
Section titled “category”category:
string
Defined in: rule.ts:87
Category id this rule belongs to (defined by the rulepack).
defaultSeverity?
Section titled “defaultSeverity?”
optionaldefaultSeverity?: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
Section titled “description”description:
string
optionalurl?:string
fixable?
Section titled “fixable?”
optionalfixable?:"text"
Defined in: rule.ts:94
Present if the rule can emit an autofix.
messages?
Section titled “messages?”
optionalmessages?: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’).