[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.
Type Declaration
Section titled “Type Declaration”| Name | Type | Description |
|---|---|---|
codefixes? | CodeFix[] | Optional actions offered with the finding, without executing them during linting. |
messageId? | M | Message variant to use; omitted selects "default". |
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
T extends DiagnosticMessages | - |
M extends keyof T | "default" |