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.

example/main.dart

// ignore_for_file: unused_local_variable
import 'package:bloc_lint/bloc_lint.dart';

// Usage: dart run main.dart ./path/to/analyze
void main(List<String> args) {
  // Analyze the provided file or directory and report all diagnostics.
  final diagnostics = const Linter().analyze(uri: Uri.parse(args.first));
}
26
likes
160
points
66.6k
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