flutter_custom_lints 1.0.6
flutter_custom_lints: ^1.0.6 copied to clipboard
A collection of custom lint rules for Flutter and Dart projects that enforce best practices and prevent common coding mistakes.
1.0.6 #
- Bug Fixes: Fixed critical exceptions that could occur during AST analysis
- Added proper error handling in
dispose_controllerslint rule when accessing type annotations - Added safe type resolution in
no_as_type_assertionlint rule to prevent crashes - Improved robustness when analyzing complex generic types and malformed code
- Enhanced compatibility with different analyzer versions
1.0.5 #
- Revert unknowingly added lint rule
1.0.4 #
- Add
dispose_controllerslint rule to enforce proper disposal of controllers like AnimationController, TextEditingController, etc. - Prevents memory leaks by ensuring controllers have corresponding dispose() calls
- Supports 9 common controller types including StreamController and StreamSubscription
- Provides clear error messages for missing dispose methods or undisposed controllers
1.0.3 #
- Remove FVM-related content from README
- Remove hardcoded dependency versions from README to prevent misleading users
1.0.2 #
- Fix export problem
1.0.1 #
- Iterable access error lint fixes
1.0.0 #
- Initial version.