inject_lints 0.2.0
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@injector@assistedInjectthat is constructed by hand instead of taken from the dependency graph. It checks tests too; skip files withexcludeglobs. - Rules can take options in a top-level
inject_lintssection ofanalysis_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.