bloc_lint 0.4.0 copy "bloc_lint: ^0.4.0" to clipboard
bloc_lint: ^0.4.0 copied to clipboard

Official lint rules for development when using the bloc state management library.

Bloc

Pub build codecov Star on Github style: bloc lint Flutter Website Awesome Flutter Flutter Samples License: MIT Discord Bloc Library


Official lint rules for development when using the bloc state management library.

Learn more at bloclibrary.dev!

This package is built to work with:


Sponsors #

Our top sponsors are shown below! [Become a Sponsor]


Quick Start #

  1. Install the bloc command-line tools

    dart pub global activate bloc_tools
    
  2. Install the bloc_lint package

    dart pub add --dev bloc_lint
    
  3. Add an analysis_options.yaml to the root of your project with the recommended rules

    include: package:bloc_lint/recommended.yaml
    
  4. Run the linter

    bloc lint .
    

For more information, check out the official documentation

All Lint Rules #

Dart Versions #

  • Dart 3: >= 3.7.0

Maintainers #

26
likes
150
points
74.1k
downloads
screenshot

Documentation

Documentation
API reference

Publisher

verified publisherbloclibrary.dev

Weekly Downloads

Official lint rules for development when using the bloc state management library.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#bloc #state-management #lint

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

_fe_analyzer_shared, checked_yaml, collection, glob, json_annotation, path, pubspec_lock_parse

More

Packages that depend on bloc_lint