scalafix | scalafix-rules |
---|---|
0.14.x | 0.6.x |
0.13.x | 0.5.x |
0.12.x | 0.4.x |
project/plugins.sbt
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "<version>")
build.sbt
ThisBuild / scalafixDependencies += "com.github.xuwei-k" %% "scalafix-rules" % "<version>"
or
sbt > scalafixAll dependency:SomeRuleName@com.github.xuwei-k:scalafix-rules:version
or
sbt > scalafixAll https://raw.githubusercontent.com/xuwei-k/scalafix-rules/main/rules/src/main/scala/fix/SomeRuleName.scala