Assists for linter rules #59868
Labels
area-devexp
For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.
devexp-quick-fix
Issues with analysis server (quick) fixes
P4
After some discussion over at #55985, we got to a decision to eventually move the fixes related to
pubspec.yaml
over to the server. I'm guessing the work foranalysis_options.yaml
would be similar if not the same. I'd like to request an assist for lint rules when we reach that point.It would be good if we had an assist for the following (or cases where rules are incompatible/opposite) to swap between rules.
Would show something like
Swap this for 'prefer_double_quotes'
or similar. I think this would be a good way of teaching people about opposite rules which they might not be familiar with and it would help people like me with a memory that doesn't seem to want to remember the rules' names and always need to look them up (sometimes I only remember the opposite rule and for setting up a new project this would be great).This would go nicely with #57034.
The text was updated successfully, but these errors were encountered: