[T] LinterRule
type LinterRule<N, DM, Options> = LinterRuleDefinition<N, DM, Options> & object;Resolved instance of a linter rule that will run.
Type Declaration
Section titled “Type Declaration”| Name | Type | Description |
|---|---|---|
id | string | Expanded rule ID in the form <library-name>/<rule-name>, used as its diagnostic code. |
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
N extends string | - |
DM extends DiagnosticMessages | - |
Options extends Record<string, unknown> | Record<string, never> |