mz_lints 0.0.1 copy "mz_lints: ^0.0.1" to clipboard
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_notifier lint rule - ensures ChangeNotifier instances are disposed in State classes
  • remove_listener lint rule - ensures listeners are removed in dispose method
  • controller_listen_in_callback lint rule - warns about Controller lookups without listen: 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
0
likes
140
points
99
downloads

Publisher

verified publisherkopan7.com

Weekly Downloads

Custom Dart lint rules for Flutter apps. Includes rules for proper disposal of ChangeNotifiers, listener cleanup, and Controller lookup patterns.

Topics

#lints #static-analysis #flutter #analyzer-plugin

Documentation

API reference

License

MIT (license)

Dependencies

analysis_server_plugin, analyzer, analyzer_plugin

More

Packages that depend on mz_lints