remove avoid_unnecessary_type_casts#289
Conversation
There was a problem hiding this comment.
Code Review
This pull request refactors the avoid_unnecessary_type_casts lint rule and its associated quick fix to use the new analyzer API, replacing the deprecated custom_lint_builder implementation. It also adds a new reflective test suite for the rule. The review feedback highlights a potential bug in the quick fix's range calculation when dealing with descendant nodes of an AsExpression, as well as a couple of outdated doc comments that need to be corrected.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
use dart linter's `unnecessary_cast` instead
04671d9 to
249f81a
Compare
…ssary_cast docs: update changelog
solid-danylosafonov
left a comment
There was a problem hiding this comment.
Need to also remove mentions of avoid_unnecessary_type_casts from:
- lib/src/utils/typecast_utils.dart
- lint_test/analysis_options.yaml
Feel free to merge after that
a978a20
into
analysis_server_migration
No description provided.