[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.
Type Declaration
Section titled “Type Declaration”| Name | Type |
|---|---|
target | | DiagnosticTarget | typeof NoTarget |
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
T extends DiagnosticMessages | - |
M extends keyof T | "default" |