Skip to main content

Type Alias: RetextLintMessage

type RetextLintMessage = Readonly<{
actual: null | string;
endOffset: number;
expected: readonly string[];
note: null | string;
reason: string;
ruleId: null | string;
source: RetextMessageSource;
startOffset: number;
}>;

Defined in: _internal/retext.ts:28

Normalized retext message with stable source offsets.