refactor: use AutoTestLintOffsets in remaining AnalysisRuleTest suites#311
Conversation
There was a problem hiding this comment.
Code Review
This pull request registers several new lint rules in the plugin, including AvoidUnnecessaryReturnVariableRule, AvoidUnnecessarySetStateRule, AvoidUnrelatedTypeAssertionsRule, NewlineBeforeReturnRule, NoEqualThenElseRule, and PreferEarlyReturnRule. Additionally, it refactors the test suite to utilize the AutoTestLintOffsets utility, replacing hardcoded character offsets with expectLint placeholders for cleaner and more maintainable test assertions. I have no feedback to provide as there are no review comments.
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.
Closes #306