Linter to suggest removing the Future
return type for the synchronous option
#59852
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
linter-lint-request
P4
After some discussions over at #58862 (comment), if we ever end up having some form of lint that was merely a hint or nudge to point to the user another option, I'd like to ask for a feature like #59814 but that would encourage users to change the return type for the function.
As per @scheglov in #59814 (comment):
Opening this issue so this idea is not lost and others can chime in.
The text was updated successfully, but these errors were encountered: