Skip to main content

blooming_lints 0.2.5 copy "blooming_lints: ^0.2.5" to clipboard
blooming_lints: ^0.2.5 copied to clipboard

High-performance static analysis and self-healing lint rules for Bloom and Blooming Flutter.

0.2.5 #

  • Lint Rules: Added avoid_async_in_computed prohibiting passing asynchronous closures (async/async*) or Future/Stream return types to synchronous computed(), directing users to computed.future() and computed.stream().
  • Quick Fixes: Added ConvertToComputedAsyncFix for avoid_async_in_computed to automatically convert synchronous computed(...) into computed.future(...) or computed.stream(...).
  • Lint Rules: Refined avoid_async_in_managed to prohibit Future/Stream return types in create/update while preserving synchronous resources implementing Stream (such as ReceivePort and Socket), and permitting synchronous teardown callbacks returning Future<void> in dispose.
  • Lint Rules: Aligned avoid_escaping_via with on-demand asynchronous BloomVia tracking (_ViaTrack.async), permitting post-await via() calls directly inside owning reactive closures while continuing to flag out-of-band Timer, Future.then, event callbacks, and nested async helper functions.
  • Type Checker: Strengthened BloomTypeChecker with strict dart:async library origin validation for Future, FutureOr, and Timer symbols, preventing false-positive diagnostics on user-defined symbols.
  • Dependencies: Added meta (^1.18.0) dependency for explicit testing annotations.
  • Ecosystem: Synchronized release with Blooming ecosystem v0.2.5.

0.2.4 #

  • Ecosystem: Synchronized release with Blooming ecosystem v0.2.4.

0.2.3 #

  • Documentation: Audited and aligned lint rule documentation, quick-fix descriptions, and API doc comments with the Truth Verification Protocol (TVP).
  • Ecosystem: Synchronized release with Blooming ecosystem v0.2.3.

0.2.2 #

  • Ecosystem: Synchronized release with Blooming ecosystem v0.2.2.

0.2.1 #

  • Lint Rules: Updated deactivate_effect_runner lint rule and AST type checker to recognize canonical Effect.* entrypoint and sub-factories.
  • Ecosystem: Synchronized release with Blooming ecosystem v0.2.1.

0.2.0 #

  • Ecosystem: Synchronized release with Blooming ecosystem v0.2.0.

0.1.5 #

  • Analysis: Optimized analysis options to prevent custom_lint background daemon leak.
  • Type Checker: Aligned BloomTypeChecker resolution for tuple and async primitives.
  • Ecosystem: Synchronized release with Blooming ecosystem v0.1.5.

0.1.4 #

  • Rules: Differentiated prefer_composed_child diagnostics with dedicated messages for high-frequency frame animation closures (composed.animate, composed.drive) and static layout containers (Column, Row, Stack, Flex, Wrap, ListView).
  • Rules: Allowed atomic leaf widgets (e.g., const Icon, const Text) in interactive buttons (ElevatedButton, FilledButton, TextButton, IconButton) without false-positive warnings.
  • Documentation: Added comprehensive architectural documentation for composed.animate.child static subtree caching across 60/120fps frame ticks and anti-pattern warnings against over-engineering with unnecessary StatelessWidget wrappers.

0.1.3 #

  • Rules: Introduced prefer_bloom_widget lint rule detecting redundant StatelessWidget wrappers directly returning composed or composed.animate.
  • Fixes: Added ReplaceStatelessWithBloomWidgetFix quick fix converting eligible StatelessWidget declarations to BloomWidget or BloomAnimatedWidget.
  • Documentation: Updated prefer_composed_child docs clarifying boundary vs leaf criteria and architectural guidance.

0.1.2 #

  • Bug Fix: Prevented stack overflow crashes on cyclic variable aliases in avoid_untracked_bloom_read.
  • Rules: Extended avoid_escaping_scoped_controller and prefer_bloom_over_controller to recognize BloomAnimatedWidget.

0.1.1 #

  • Ecosystem: Synchronized release with Blooming core ecosystem v0.1.1.
  • Documentation: Updated package metadata and ecosystem repository alignment.

0.1.0 #

  • Initial release of blooming_lints on pub.dev.
0
likes
0
points
1.83k
downloads

Publisher

verified publisherpioneerjkf.dev

Weekly Downloads

High-performance static analysis and self-healing lint rules for Bloom and Blooming Flutter.

Homepage
Repository (GitHub)
View/report issues

Topics

#linter #static-analysis #custom-lint #lints #reactive

License

unknown (license)

Dependencies

analyzer, custom_lint_builder, meta

More

Packages that depend on blooming_lints