bm_lints 2.0.1
bm_lints: ^2.0.1 copied to clipboard
A linter configuration and additional custom linter rules used by Brickmakers
bm_lints #
A linter configuration and additional custom linter rules used by Brickmakers.
Installation #
- Add to pubspec.yaml:
dart pub add --dev bm_lints - Configure your analysis_options.yaml to extend from bm_lints and add the plugin:
include: package:bm_lints/analysis_options.yaml
plugins:
bm_lints: <version>
Features #
- BRICKMAKERS approved anlyzer configuration
- Custom analyzer rules:
no_imperative_routing: Enforces declarative routing practices.no_dangling_disposables: Prevents resource leaks by ensuring disposables are properly managed.invalid_service_resolution: Warns if a trying to resolve a service that is not registered.invalid_resolution_method: Warns if a service is resolved using an unrecommended method.