-
Notifications
You must be signed in to change notification settings - Fork 23
Remove to-be-deprecated rules iterable_contains_unrelated_type
and list_remove_unrelated_type
#798
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
Comments
What SDK version would the rules be deprecated in (and the new rule be available)? |
The old rules will be deprecated in Dart 3.1 at the earliest. The new rule is available in Dart 2.19.0. I'm not sure whether the right practice is to deprecate (which results in new diagnostics in |
Hmm, from a previous discussion in this repo, I believe that the deprecations wouldn't show as diagnostics for users? Since the user's analysis options file would reference this one. So we likely have a freer hand wrt timing here (esp. as this package already has a lower bounds of |
The rules are now deprecated and should be removed from this repo. |
Removals approved. |
These two rules will be deprecated (in dart-lang/sdk#58958) in favor of
collection_methods_unrelated_type
, which I'd also like to add to package:lints (#787).The text was updated successfully, but these errors were encountered: