Skip to content

[T] LinterRuleDiagnosticReportWithoutTarget

type LinterRuleDiagnosticReportWithoutTarget<T, M> = object & LinterRuleDiagnosticFormat<T, M>;

Rule finding before its source target is attached; the context supplies the rule code and severity.

NameTypeDescription
codefixes?CodeFix[]Optional actions offered with the finding, without executing them during linting.
messageId?MMessage variant to use; omitted selects "default".
Type ParameterDefault type
T extends DiagnosticMessages-
M extends keyof T"default"