Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 394 Bytes

File metadata and controls

23 lines (16 loc) · 394 Bytes

Example repository using sbt-scalafix

Run from a terminal console

git clone https://github.com/scalacenter/scalafix-sbt-example
cd scalafix-sbt-example
sbt "scalafix RemoveUnused"
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
+