Skip to content

[I] LinterRule

Resolved instance of a linter rule that will run.

Type Parameter
N extends string
DM extends DiagnosticMessages
PropertyTypeDescriptionInherited from
descriptionstringShort description of the ruleLinterRuleDefinition.description
idstringExpanded rule id in format <library-name>:<rule-name>-
messagesDMMessages that can be reported with the diagnostic.LinterRuleDefinition.messages
nameNRule name (without the library name)LinterRuleDefinition.name
severity"warning"Rule default severity.LinterRuleDefinition.severity
url?stringSpecifies the URL at which the full documentation can be accessed.LinterRuleDefinition.url
create(context): SemanticNodeListener;

Creator

ParameterType
contextLinterRuleContext<DM>

SemanticNodeListener

LinterRuleDefinition.create