blooming_lints 0.3.2
blooming_lints: ^0.3.2 copied to clipboard
High-performance static analysis and self-healing lint rules for Bloom and Blooming Flutter.
0.3.2 #
- Control Flow Lint Alignment:
- Updated
avoid_escaping_viaandavoid_untracked_bloom_readrules to supportvia.exitIfStalealongside deprecatedvia.exitIfInactive. - Aligned AST type checking with
_ViaScope.asyncandvia.exitIfStale.
- Updated
- Ecosystem: Synchronized release with Blooming ecosystem v0.3.2.
0.3.1 #
- Type Checker:
- Updated
BloomTypeChecker.isControllerOrCouplerTypeand AST visitors to recognizeBloomCollectionControllerinavoid_bloom_creation_in_buildandprefer_bloom_over_controller.
- Updated
- Ecosystem: Synchronized release with Blooming ecosystem v0.3.1.
0.3.0 #
- Lint Rules:
- Refined
avoid_untracked_bloom_readto recognizeBloomViaandEffectViascopes and distinguish between dependency-tracking reads and early-exit arguments. - Eliminated false negatives when reading untracked Bloom data inside
emptyReasonparameters ofvia.exit()andvia.exitIfInactive().
- Refined
- Type Checker:
- Updated
BloomTypeCheckerto disambiguate dependency-trackingvia(...)calls from control-flowvia.exit(...)calls viaisBloomViaTrackingInvocation. - Added full AST detection and symbol validation for
EffectViaandvia.exit/via.exitIfInactive.
- Updated
- Ecosystem: Synchronized release with Blooming ecosystem v0.3.0.
0.2.5 #
- Lint Rules: Added
avoid_async_in_computedprohibiting passing asynchronous closures (async/async*) orFuture/Streamreturn types to synchronouscomputed(), directing users tocomputed.future()andcomputed.stream(). - Quick Fixes: Added
ConvertToComputedAsyncFixforavoid_async_in_computedto automatically convert synchronouscomputed(...)intocomputed.future(...)orcomputed.stream(...). - Lint Rules: Refined
avoid_async_in_managedto prohibitFuture/Streamreturn types increate/updatewhile preserving synchronous resources implementingStream(such asReceivePortandSocket), and permitting synchronous teardown callbacks returningFuture<void>indispose. - Lint Rules: Aligned
avoid_escaping_viawith on-demand asynchronousBloomViatracking (_ViaTrack.async), permitting post-awaitvia()calls directly inside owning reactive closures while continuing to flag out-of-bandTimer,Future.then, event callbacks, and nested async helper functions. - Type Checker: Strengthened
BloomTypeCheckerwith strictdart:asynclibrary origin validation forFuture,FutureOr, andTimersymbols, 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_runnerlint rule and AST type checker to recognize canonicalEffect.*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
BloomTypeCheckerresolution for tuple and async primitives. - Ecosystem: Synchronized release with Blooming ecosystem v0.1.5.
0.1.4 #
- Rules: Differentiated
prefer_composed_childdiagnostics 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.childstatic subtree caching across 60/120fps frame ticks and anti-pattern warnings against over-engineering with unnecessaryStatelessWidgetwrappers.
0.1.3 #
- Rules: Introduced
prefer_bloom_widgetlint rule detecting redundantStatelessWidgetwrappers directly returningcomposedorcomposed.animate. - Fixes: Added
ReplaceStatelessWithBloomWidgetFixquick fix converting eligibleStatelessWidgetdeclarations toBloomWidgetorBloomAnimatedWidget. - Documentation: Updated
prefer_composed_childdocs 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_controllerandprefer_bloom_over_controllerto recognizeBloomAnimatedWidget.
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_lintson pub.dev.