[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 format <library-name>:<rule-name> |
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
N extends string | - |
DM extends DiagnosticMessages | - |
Options extends Record<string, unknown> | Record<string, never> |