mz_lints 0.0.1
mz_lints: ^0.0.1 copied to clipboard
Custom Dart lint rules for Flutter apps. Includes rules for proper disposal of ChangeNotifiers, listener cleanup, and Controller lookup patterns.
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.0.1 - 2026-01-09 #
Added #
- Initial release
dispose_notifierlint rule - ensures ChangeNotifier instances are disposed in State classesremove_listenerlint rule - ensures listeners are removed in dispose methodcontroller_listen_in_callbacklint rule - warns about Controller lookups withoutlisten: false- Quick fixes for all lint rules
- Support for
// ignore_for_file:and// ignore:comments to suppress rules - 100% test coverage on all lint rules