-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: avoid_future_catcherror rule #4068
base: main
Are you sure you want to change the base?
WIP: avoid_future_catcherror rule #4068
Conversation
Quick drive by as this would require a lot of rename work: We typically convert camelCase to snake_case, like in |
so s/avoid_future_catcherror/avoid_future_catch_error, or other updates too? |
Oh, also, we I think are trying to avoid the word In any case, you don't have to put more work into this until we settle on what kind of lint rule we want. |
ack on both points. |
….catchError (#140122) Ensure tool code does not use Future.catchError or Future.onError, because it is not statically safe: dart-lang/sdk#51248. This was proposed upstream in dart-lang/linter in dart-lang/linter#4071 and dart-lang/linter#4068, but not accepted.
TODO description