mitch_analyzer_plugin 0.2.1
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 testcovers 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_demoto showcase the Dart-centric rules.example/flutter_demoto showcase the shared Dart / Flutter rules and the provider-centric rules.tool/validate_examples.dartto 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'Texamples. - 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, andavoid_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, andavoid_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_keywordrule.avoid_print_usagerule with a quick fix to replaceprint/debugPrintwithLogger().info(...).- Dynamic-type rule with a quick fix to replace
dynamicwithObject?. avoid_substringrule.avoid_unsafe_collection_methodsrule.avoid_instantiating_in_value_providerrule.avoid_non_nullable_provider_context_accessrule 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.