dart-lang / linter

Linter for Dart.
https://dart.dev/tools/linter-rules
BSD 3-Clause "New" or "Revised" License
628 stars 172 forks source link

remove `prefer_mixin` #4907

Open nate-thegrate opened 4 months ago

nate-thegrate commented 4 months ago

I noticed that multiple rules on the linter rules page are marked with (Removed).

prefer_mixin should be removed as well, since class_used_as_mixin makes it irrelevant.

bwilkerson commented 3 months ago

@pq Can you think of any reason to not deprecate and/or remove prefer_mixin?

pq commented 3 months ago

I'm favor of deprecating, then removing.

See also some relevant conversation in https://github.com/dart-lang/lints/issues/26.