plugin top-level property

CleanArchLinterPlugin plugin
final

The plugin entry point.

The Dart Analysis Server looks for a top-level field named plugin. So, DO NOT change the variable name. See this doc for more information: https://dart.dev/tools/analyzer-plugins.

Implementation

final plugin = CleanArchLinterPlugin(
  SessionDataManagerFactory.createNewInstance(CleanArchLinterConfigLoader()),
);