bloc_lint 0.2.0-dev.1 copy "bloc_lint: ^0.2.0-dev.1" to clipboard
bloc_lint: ^0.2.0-dev.1 copied to clipboard

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

Bloc

Pub build codecov Star on Github 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:^0.2.0
    
  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 #

10
likes
160
points
8.5k
downloads
screenshot

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

Documentation

Documentation
API reference

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