[I] LinterRule
Resolved instance of a linter rule that will run.
Extends
LinterRuleDefinition<N,DM>
Type Parameters
| Type Parameter | 
|---|
N extends string | 
DM extends DiagnosticMessages | 
Properties
| Property | Type | Description | Inherited from | 
|---|---|---|---|
 description | string | Short description of the rule | LinterRuleDefinition.description | 
 id | string | Expanded rule id in format <library-name>:<rule-name> | - | 
 messages | DM | Messages that can be reported with the diagnostic. | LinterRuleDefinition.messages | 
 name | N | Rule name (without the library name) | LinterRuleDefinition.name | 
 severity | "warning" | Rule default severity. | LinterRuleDefinition.severity | 
 url? | string | Specifies the URL at which the full documentation can be accessed. | LinterRuleDefinition.url | 
Methods
create()
create(context): SemanticNodeListenerCreator
Parameters
| Parameter | Type | 
|---|---|
context | LinterRuleContext<DM> |