refactor: consolidate lint fix registration logic#316
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a new RuleWithFixes interface to streamline the registration of lint rules and their associated quick fixes. Instead of manually registering fixes for each rule in SolidLintsPlugin.register, rules now implement RuleWithFixes and define their own fixes, which are dynamically registered in a loop. The feedback points out a redundant explicit cast in lib/main.dart due to Dart's automatic type promotion, and suggests reusing the existing ProducerGenerator typedef from package:analysis_server_plugin/registry.dart instead of redefining it.
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.
…ype cast variable
Closes #285