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.

example/lib/main.dart

/// mz_lints example placeholder.
///
/// This is a minimal Dart example to demonstrate the mz_lints plugin setup.
/// For comprehensive lint examples with Flutter widgets, see the main
/// mz_utils example at `example/lib/lint_examples.dart`.
///
/// To use mz_lints in your project:
///
/// 1. Add to pubspec.yaml:
///    ```yaml
///    dev_dependencies:
///      mz_lints: ^0.0.1
///    ```
///
/// 2. Add to analysis_options.yaml:
///    ```yaml
///    plugins:
///      - package:mz_lints/main.dart
///    ```
///
/// 3. Restart your IDE's Dart Analysis Server.
library;

void main() {
  print('mz_lints example - see mz_utils/example for full lint demos');
}
0
likes
140
points
6
downloads

Documentation

API reference

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

License

MIT (license)

Dependencies

analysis_server_plugin, analyzer, analyzer_plugin

More

Packages that depend on mz_lints