bloc_signals_lint 0.2.1 copy "bloc_signals_lint: ^0.2.1" to clipboard
bloc_signals_lint: ^0.2.1 copied to clipboard

Custom lint rules and analyzer diagnostics for BlocSignal and CubitSignal.

example/example.dart

/// Example showing how to configure `bloc_signals_lint` in `analysis_options.yaml`.
///
/// In your project's `analysis_options.yaml`:
/// ```yaml
/// analyzer:
///   plugins:
///     - custom_lint
/// ```
///
/// Then add `bloc_signals_lint` to your `dev_dependencies` in `pubspec.yaml`:
/// ```yaml
/// dev_dependencies:
///   custom_lint: ^0.7.0
///   bloc_signals_lint: ^0.2.1
/// ```
void main() {
  // `bloc_signals_lint` automatically highlights issues inside your IDE
  // such as duplicate event handlers, missing super.onEvent calls, or
  // calling emit() inside build() methods.
}
0
likes
0
points
526
downloads

Publisher

verified publisherstonehenge.com

Weekly Downloads

Custom lint rules and analyzer diagnostics for BlocSignal and CubitSignal.

Repository (GitHub)
View/report issues

Topics

#lint #static-analysis #bloc #signals

License

unknown (license)

Dependencies

analyzer, custom_lint_builder, meta

More

Packages that depend on bloc_signals_lint