Repository navigation
Release v14.4.3
Resolves a runtime error in the lint diagnostic reporter that could prevent ignore-comments and deduplication checks from functioning correctly. This release also hardens internal code quality with broad static analysis improvements and introduces new automated CI gates to prevent future regressions. log
Fixed
- Fix undefined
ruleContextreference inSaropaLintRule.registerNodeProcessors— the diagnostic reporter was receiving an unresolved identifier instead of the method'sRuleContextparameter, which could cause ignore-comment and dedup checks to fail at runtime. No action required.
Maintenance
- Resolve
unnecessary_string_interpolations,unnecessary_string_escapes, andprefer_adjacent_string_concatenationlint issues across lib/ to future-proof against pana baseline upgrades topackage:lints/recommended.yaml. No action required. - Resolve 209 dart analyzer lint issues across lib/ and test/: nullable final variables, string interpolation style, dangling library doc comments, unnecessary
this/late, missing@override,prefer_contains,use_super_parameters,prefer_collection_literals, and parameter naming alignment with base class signatures. - Remove dead field
_isProjectRootInitializedfromSaropaLintRule. - Add
scripts/check_dart_fix.py— CI gate that fails if fixable dart issues exist; hardened with multiple regex patterns and error handling for missingdartor timeout. - Integrate
dart fix --dry-run/--applyinto the publish pipeline as an auto-fix step before blocking checks. - Add
// ignore:suppressions for 5 unfixable recommended.yaml issues (implementation_imports, library_private_types_in_public_api, prefer_interpolation_to_compose_strings) with verified rationale comments. - Add
scripts/check_recommended_yaml.py— CI gate that temporarily enables recommended.yaml analysis and asserts zero unsuppressed issues; preserves original file bytes on restore, handles YAML document markers and missingdart. - Add
dart fixand recommended.yaml checks to pre-commit hook — regressions are now caught before push; dart availability is checked by each Python script (exit 2 = skip), not the shell.