Skip to content

Lint

Defined in: rule.ts:27

A single reported problem — the linter’s output unit (was Finding).

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).


optional fix?: TextFix

Defined in: rule.ts:41


message: string

Defined in: rule.ts:40

Why it was flagged, in plain language.


ruleId: string

Defined in: rule.ts:29

Namespaced identifier, e.g. ‘ai-style/corrective-antithesis’.


severity: ActiveSeverity

Defined in: rule.ts:32


start: number

Defined in: rule.ts:34

Char offset into the original text (inclusive).


optional suggestion?: string

Defined in: rule.ts:43

Optional concrete suggestion (prose).


text: string

Defined in: rule.ts:38

The exact flagged substring.