[I] LinterRule
Resolved instance of a linter rule that will run.
Extends
Section titled “Extends”LinterRuleDefinition<N,DM>
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
N extends string |
DM extends DiagnosticMessages |
Properties
Section titled “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
Section titled “Methods”create()
Section titled “create()”create(context): SemanticNodeListener;Creator
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
context | LinterRuleContext<DM> |