Lint
Defined in: rule.ts:64
A single reported problem — the linter’s output unit (was Finding).
Properties
Section titled “Properties”anchors?
Section titled “anchors?”
optionalanchors?: readonlyLintAnchor[]
Defined in: rule.ts:86
Useful positions inside the finding, such as candidate clause split points.
assumptions?
Section titled “assumptions?”
optionalassumptions?: readonlystring[]
Defined in: rule.ts:90
Visible assumptions that still require writer or tool judgment.
category
Section titled “category”category:
string
Defined in: rule.ts:68
The rule’s category (pack-defined), for grouping / colour.
confidence
Section titled “confidence”confidence:
Confidence
Defined in: rule.ts:71
Detector certainty, independent of how the finding is rendered or gated.
end:
number
Defined in: rule.ts:75
Char offset into the original text (exclusive).
evidence?
Section titled “evidence?”
optionalevidence?: readonlyRuleEvidence[]
Defined in: rule.ts:84
Inspectable facts that produced this finding.
optionalfix?:TextFix
Defined in: rule.ts:80
magnitude?
Section titled “magnitude?”
optionalmagnitude?:LintMagnitude
Defined in: rule.ts:88
Numeric strength measurements for scoring partial improvement.
message
Section titled “message”message:
string
Defined in: rule.ts:79
Why it was flagged, in plain language.
ruleId
Section titled “ruleId”ruleId:
string
Defined in: rule.ts:66
Namespaced identifier, e.g. ‘ai-style/corrective-antithesis’.
severity
Section titled “severity”severity:
ActiveSeverity
Defined in: rule.ts:69
start:
number
Defined in: rule.ts:73
Char offset into the original text (inclusive).
suggestion?
Section titled “suggestion?”
optionalsuggestion?:string
Defined in: rule.ts:82
Optional concrete suggestion (prose).
text:
string
Defined in: rule.ts:77
The exact flagged substring.