[I] LinterRuleDefinition
Extended by
Type Parameters
| Type Parameter |
|---|
N extends string |
DM extends DiagnosticMessages |
Properties
| Property | Type | Description |
|---|---|---|
description | string | Short description of the rule |
messages | DM | Messages that can be reported with the diagnostic. |
name | N | Rule name (without the library name) |
severity | "warning" | Rule default severity. |
url? | string | Specifies the URL at which the full documentation can be accessed. |
Methods
create()
create(context): SemanticNodeListenerCreator
Parameters
| Parameter | Type |
|---|---|
context | LinterRuleContext<DM> |