Skip to main content
Version: Next 🚧

[I] LinterRuleDefinition

Extended by

Type Parameters

Type Parameter
N extends string
DM extends DiagnosticMessages

Properties

PropertyTypeDescription
descriptionstringShort description of the rule
messagesDMMessages that can be reported with the diagnostic.
nameNRule name (without the library name)
severity"warning"Rule default severity.
url?stringSpecifies the URL at which the full documentation can be accessed.

Methods

create()

create(context): SemanticNodeListener

Creator

Parameters

ParameterType
contextLinterRuleContext<DM>

Returns

SemanticNodeListener