Skip to content
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

Add scalafix integration #159

Merged
merged 3 commits into from
Jun 4, 2022
Merged

Add scalafix integration #159

merged 3 commits into from
Jun 4, 2022

Conversation

armanbilge
Copy link
Member

No description provided.

Comment on lines +79 to +85
lazy val scalafixSettings: Seq[Setting[_]] =
Seq(
scalafixDependencies ++= Seq(
"org.http4s" %% "http4s-scalafix-internal" % "0.23.12",
"com.github.liancheng" %% "organize-imports" % "0.6.0"
)
)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird or no?

Actually I think we can upstream many/all of the internal rules to typelevel-scalafix. They seem widely applicable.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Upstream to Typelevel unless it's HTTP" has been my mantra for many things. Seems applicable here, too.

Comment on lines +79 to +85
lazy val scalafixSettings: Seq[Setting[_]] =
Seq(
scalafixDependencies ++= Seq(
"org.http4s" %% "http4s-scalafix-internal" % "0.23.12",
"com.github.liancheng" %% "organize-imports" % "0.6.0"
)
)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Upstream to Typelevel unless it's HTTP" has been my mantra for many things. Seems applicable here, too.

@armanbilge
Copy link
Member Author

Alrighty, let's ship this.

@armanbilge armanbilge merged commit 9d3bcb3 into main Jun 4, 2022
@armanbilge armanbilge deleted the feature/scalafix branch June 4, 2022 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants