[I] LinterRuleContext
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
DM extends DiagnosticMessages | - |
Options extends Record<string, unknown> | Record<string, never> |
Properties
Section titled “Properties”| Property | Modifier | Type | Description |
|---|---|---|---|
options | readonly | Options | Options configured for this rule. |
program | readonly | Program | - |
Methods
Section titled “Methods”reportDiagnostic()
Section titled “reportDiagnostic()”reportDiagnostic<M>(diag): void;Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
M extends string | number | symbol |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
diag | LinterRuleDiagnosticReport<DM, M> |
Returns
Section titled “Returns”void