mitch_analyzer_plugin 0.2.1 copy "mitch_analyzer_plugin: ^0.2.1" to clipboard
mitch_analyzer_plugin: ^0.2.1 copied to clipboard

Security-focused Dart analyzer plugin with opinionated rules for safer, more predictable codebases.

Changelog #

All notable changes to mitch_analyzer_plugin are documented in this file.

0.2.1 - 2026-04-23 #

Changed #

  • Integrated example showcase validation into the package test suite instead of relying on a standalone script.
  • Simplified the validation workflow so dart test covers repository conventions and example verification.
  • Refreshed the development commands and validation documentation accordingly.

0.2.0 - 2026-04-21 #

Added #

  • Standalone pub.flutter-io.cn metadata, public library export, and BSD-3-Clause license.
  • example/dart_demo to showcase the Dart-centric rules.
  • example/flutter_demo to showcase the shared Dart / Flutter rules and the provider-centric rules.
  • tool/validate_examples.dart to validate compliant and intentionally failing example fixtures.
  • GitHub Actions workflows for validation and pub.flutter-io.cn publishing.
  • Exhaustive README coverage for every rule, including DO / DON'T examples.
  • Expanded the syntax-driven rule catalog with avoid_conditions_with_boolean_literals, avoid_non_null_assertion, avoid_type_casts, avoid_empty_spread, avoid_explicit_pattern_field_name, and avoid_unsafe_reduce.
  • Added the semantic rule set with avoid_explicit_type_declaration, avoid_inferrable_type_arguments, avoid_unused_generics, avoid_unnecessary_overrides, avoid_unused_parameters, avoid_unused_assignment, and avoid_unused_instances.
  • Refreshed repository validation, example fixtures, and changelog coverage for the expanded rule catalog.

Changed #

  • Renamed the package, plugin identifier, imports, docs, tests, and config snippets to mitch_analyzer_plugin.
  • Renamed the dynamic-type rule to its DCM-style public name, avoid_dynamic.
  • Removed workspace-only package settings so the repository works as a standalone package.
  • Refreshed rule documentation and development commands for the standalone layout.

Removed #

  • Legacy shared/ example fixtures inherited from the previous repository layout.
  • The shared-module-specific rules that only targeted that old directory structure.

0.1.0 - 2026-03-03 #

Added #

  • Initial analyzer plugin package setup.
  • avoid_late_keyword rule.
  • avoid_print_usage rule with a quick fix to replace print/debugPrint with Logger().info(...).
  • Dynamic-type rule with a quick fix to replace dynamic with Object?.
  • avoid_substring rule.
  • avoid_unsafe_collection_methods rule.
  • avoid_instantiating_in_value_provider rule.
  • avoid_non_nullable_provider_context_access rule with a quick fix to make provider context types nullable.
  • Rule-level exclusion configuration (plugins.mitch_analyzer_plugin.exclude).
  • Rule convention and benchmark helper scripts.
0
likes
140
points
9
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Security-focused Dart analyzer plugin with opinionated rules for safer, more predictable codebases.

Repository (GitHub)
View/report issues

Topics

#analyzer #lint #static-analysis #security #plugin

License

BSD-3-Clause (license)

Dependencies

analysis_server_plugin, analyzer, analyzer_plugin, collection, yaml

More

Packages that depend on mitch_analyzer_plugin