Skip to main content

inject_lints 0.2.0 copy "inject_lints: ^0.2.0" to clipboard
inject_lints: ^0.2.0 copied to clipboard

Analyzer plugin for inject.dart. It reports in the IDE what the inject.dart code generator would reject, and offers optional style rules.

0.2.0 #

  • Add the style rule avoid_constructing_injected_class. It reports a class with @inject or @assistedInject that is constructed by hand instead of taken from the dependency graph. It checks tests too; skip files with exclude globs.
  • Rules can take options in a top-level inject_lints section of analysis_options.yaml.

0.1.0 #

  • Initial release: an analyzer plugin that reports in the IDE what the inject.dart generator would reject, with quick fixes and optional style rules.
0
likes
0
points
--
downloads

Documentation

Documentation

Publisher

verified publisherdasralph.de

Analyzer plugin for inject.dart. It reports in the IDE what the inject.dart code generator would reject, and offers optional style rules.

Repository (GitHub)
View/report issues

Topics

#dependency-injection #analyzer #lints

License

unknown (license)

Dependencies

analysis_server_plugin, analyzer, analyzer_plugin, glob, path, yaml

More

Packages that depend on inject_lints