SynthexLintsPlugin class

The plugin the Dart Analysis Server runs when a package enables synthex_lint in its analysis_options.yaml.

Registration adds every rule in warningRules and lintRules to the server's registry, plus the AddSupertype correction for each diagnostic code the placement rule can report under.

Inheritance
  • Object
  • Plugin
  • SynthexLintsPlugin

Constructors

SynthexLintsPlugin()

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
The plugin's name: the key a package uses under plugins: in analysis_options.yaml, and the prefix of a plugin-qualified diagnostic code such as synthex_lint/placement.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register(PluginRegistry registry) → void
Registers the plugin's rules and corrections with the server.
override
shutDown() → FutureOr<void>
inherited
start() → FutureOr<void>
Initializes any necessary start-up state that is required for this plugin to run.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited