refactor: migrate avoid_unnecessary_type_casts#289
refactor: migrate avoid_unnecessary_type_casts#289andrew-bekhiet-solid wants to merge 3 commits into
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.
No description provided.