bm_lints 2.0.1 copy "bm_lints: ^2.0.1" to clipboard
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.
0
likes
140
points
69
downloads

Documentation

API reference

Publisher

verified publisherbrickmakers.de

Weekly Downloads

A linter configuration and additional custom linter rules used by Brickmakers

Repository (GitHub)

License

MIT (license)

Dependencies

analysis_server_plugin, analyzer, injectable_generator, logging, path, source_gen, synchronized, very_good_analysis

More

Packages that depend on bm_lints