To install, first install the beta version of scalafix, e.g. in
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.6.0-M12")
and enable the compiler plugin for each project in
scalacOptions += "-Yrangepos" addCompilerPlugin(scalafixSemanticdb)
If anything goes wrong, you can ask on the scalacenter/scalafix channel but be aware that this is a pre-release and you are expected to read the scalafix and sbt-scalafix source code rather than refer to the older release's documentation.
scalafix.conf from here to
.scalafix.conf in your project root and run
scalafix in your sbt shell.
If you would like to contribute to this initiative you can:
- pick up the tickets in this repo to ease installation and extensibility
- expand the list of manually verified "safe" methods
- implement and improve scalazzi rules inside scalafix