-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Scalafix rule to help migration to 2.2.0 #3563
Comments
Started work on a rule here: https://github.com/cb372/cats/tree/scalafix-rules-2.2.0 Now I just need to draw the rest of the owl... |
There was an issue with |
Yes, I saw the discussion about that. I think it should be pretty simple to make the rule do special handling for |
It would be great to add this migration rule to Scala Steward so that it can be used for the PRs that update Cats to 2.2.0. |
Sure! If my PR gets merged, I'll make a PR to add it to Scala Steward. |
I'm really looking forward to upgrading to 2.2.0 and deleting all my
cats.instances.*
imports!Is it worth providing an official scalafix rule to help people do this?
It could be just a simple grep to delete all
import cats.instances.*
lines, or it could be a bit smarter and also deleteimport cats.implicits._
lines that are only being used to import instances, not syntax.The text was updated successfully, but these errors were encountered: