packages/bloc_lint/README.md
Official lint rules for development when using the bloc state management library.
Learn more at bloclibrary.dev!
This package is built to work with:
Our top sponsors are shown below! [Become a Sponsor]
<table style="background-color: white; border: 1px solid black"> <tbody> <tr> <td align="center" style="border: 1px solid black"> <a href="https://shorebird.dev"></a> </td> <td align="center" style="border: 1px solid black"> <a href="https://getstream.io/chat/flutter/tutorial/?utm_source=Github&utm_medium=Github_Repo_Content_Ad&utm_content=Developer&utm_campaign=Github_Jan2022_FlutterChat&utm_term=bloc"></a> </td> <td align="center" style="border: 1px solid black"> <a href="https://rettelgame.com/"></a> </td> </tr> </tbody> </table>Install the bloc command-line tools
dart pub global activate bloc_tools
Install the bloc_lint package
dart pub add --dev bloc_lint
Add an analysis_options.yaml to the root of your project with the
recommended rules
include: package:bloc_lint/recommended.yaml
Run the linter
bloc lint .
For more information, check out the official documentation