flutter_compositions_lints 0.1.1
flutter_compositions_lints: ^0.1.1 copied to clipboard
Custom lint rules for Flutter Compositions to ensure reactive props usage and best practices.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.1.1 - 2025-11-06 #
- REFACTOR: remove type safety lint rule and related tests.
- FIX: configure dart test to exclude fixture files from test runs.
- FEAT: init project.
0.1.0 - 2025-10-27 #
Added #
- Initial release of Flutter Compositions Lints
- Custom lint rules for enforcing Flutter Compositions best practices:
flutter_compositions_ensure_reactive_props- Ensures props are accessed viawidget()for reactivityflutter_compositions_no_async_setup- Prevents async setup methodsflutter_compositions_controller_lifecycle- Ensures proper controller disposal withuse*helpersflutter_compositions_no_mutable_fields- Enforces immutable widget fieldsflutter_compositions_provide_inject_type_match- Warns against common type conflicts in DIflutter_compositions_no_conditional_composition- Prevents conditional composition API calls
- Comprehensive test coverage using
testAnalyzeAndRun() - Fixture files for each lint rule
- Integration tests
- Documentation for all rules
Documentation #
- Complete rules documentation in RULES.md
- Testing guide in test/README.md
- Example code for good and bad practices
Development #
- Automated testing with
custom_lint_builder - All tests passing (18/18)
- GitHub Actions CI integration