Example sbt build using scalafix
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
myproject/src/main/scala/a First commit Aug 17, 2017
project Upgrade to v0.6 Aug 20, 2018
.gitignore First commit Aug 17, 2017
.scalafix.conf Upgrade to v0.6 Aug 20, 2018
build.sbt Upgrade to v0.6 Aug 20, 2018
readme.md First commit Aug 17, 2017

readme.md

Example repository using sbt-scalafix

Run from a terminal console

git clone https://github.com/olafurpg/scalafix-sbt-example
cd scalafix-sbt-example
sbt "scalafix RemoveUnusedImports"
git diff

At the end, you should see a diff like this

--- a/myproject/src/main/scala/a/A.scala
+++ b/myproject/src/main/scala/a/A.scala
@@ -1,4 +1,4 @@
-import scala.concurrent.Future
+