context_plus_lint 1.0.1 copy "context_plus_lint: ^1.0.1" to clipboard
context_plus_lint: ^1.0.1 copied to clipboard

Custom lint rules for context_plus

context_plus.webp

Visit context-plus.sonerik.dev for more information and interactive examples.

context_plus_lint #

A set of custom lints and auto-fixes that improve the developer experience with context_plus.

  • Detect and auto-fix incorrect context.use() before receiving an assertion at runtime
  • Automatically create and assign context.use()d values to a new Ref
  • Detect and auto-fix incorrect Ref definitions

Installation #

Add context_plus_lint to your pubspec.yaml

flutter pub add --dev context_plus_lint
flutter pub add --dev custom_lint

Update the analysis_options.yaml to include

analyzer:
    plugins:
    - custom_lint
1
likes
130
points
49
downloads

Publisher

verified publishersonerik.dev

Weekly Downloads

Custom lint rules for context_plus

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, analyzer_plugin, custom_lint_builder

More

Packages that depend on context_plus_lint