bloc_lint 0.2.0-dev.0 copy "bloc_lint: ^0.2.0-dev.0" to clipboard
bloc_lint: ^0.2.0-dev.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));
}
9
likes
160
points
369
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