plugin top-level property

DRocketLintsPlugin plugin
final

The top-level plugin instance. The analysis server auto-discovers this variable by package:d_rocket_lints/main.dart and calls register once.

Consumers do NOT import this file directly; they activate the plugin via their analysis_options.yaml:

analyzer:
  plugins:
    - d_rocket_lints

Implementation

final DRocketLintsPlugin plugin = DRocketLintsPlugin();