Lint
Defined in: rule.ts:27
A single reported problem — the linter’s output unit (was Finding).
Properties
Section titled “Properties”category
Section titled “category”category:
string
Defined in: rule.ts:31
The rule’s category (pack-defined), for grouping / colour.
end:
number
Defined in: rule.ts:36
Char offset into the original text (exclusive).
optionalfix?:TextFix
Defined in: rule.ts:41
message
Section titled “message”message:
string
Defined in: rule.ts:40
Why it was flagged, in plain language.
ruleId
Section titled “ruleId”ruleId:
string
Defined in: rule.ts:29
Namespaced identifier, e.g. ‘ai-style/corrective-antithesis’.
severity
Section titled “severity”severity:
ActiveSeverity
Defined in: rule.ts:32
start:
number
Defined in: rule.ts:34
Char offset into the original text (inclusive).
suggestion?
Section titled “suggestion?”
optionalsuggestion?:string
Defined in: rule.ts:43
Optional concrete suggestion (prose).
text:
string
Defined in: rule.ts:38
The exact flagged substring.