Skip to content

[T] LinterRuleDiagnosticReport

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

Rule finding with a source-location target. Although NoTarget is accepted by the shape, the linter only collects findings whose targets belong to the user project.

NameType
target| DiagnosticTarget | typeof NoTarget
Type ParameterDefault type
T extends DiagnosticMessages-
M extends keyof T"default"