Skip to content

Commit d5f3fd0

Browse files
MasseGuillaumeolafurpg
authored andcommitted
Bump to scalafix 0.9.0-RC1
1 parent aaf4511 commit d5f3fd0

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ We created two migration rules:
4646
```scala
4747
// project/plugins.sbt
4848

49-
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.7.0-RC1")
49+
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.0-RC1")
5050
```
5151

5252
```scala
@@ -62,11 +62,10 @@ libraryDependencies += collectionCompat // required for Collection213CrossCompat
6262
addCompilerPlugin(scalafixSemanticdb)
6363
scalacOptions ++= List(
6464
"-Yrangepos",
65-
"-Ywarn-unused-import",
66-
"-P:semanticdb:synthetics:on"
65+
"-P:semanticdb:synthetics:on" // Required by the collection rewrites
6766
)
6867

69-
scalafixDependencies in ThisBuild += "org.scala-lang.modules" %% "scala-collection-migrations" % Dependencies.collectionCompatVersion
68+
scalafixDependencies in ThisBuild += "org.scala-lang.modules" %% "scala-collection-migrations" % collectionCompatVersion
7069
```
7170

7271
Then run:
@@ -77,6 +76,8 @@ Then run:
7776
> ;scalafix Collection213CrossCompat ;test:scalafix Collection213CrossCompat # For Libraries
7877
```
7978

79+
The official documentation: https://scalacenter.github.io/scalafix/docs/users/installation.html
80+
8081
The migration tool is not exhaustive and we will continue to improve
8182
it over time. If you encounter a use case that’s not supported, please
8283
report it as described in the

build.sbt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,6 @@ lazy val `scalafix-data` = MultiScalaProject(
162162
"scalafix/data",
163163
_.settings(sharedScalafixSettings)
164164
.settings(dontPublish)
165-
.settings(
166-
addCompilerPlugin(scalafixSemanticdb),
167-
scalacOptions += "-P:semanticdb:synthetics:on"
168-
)
169165
)
170166

171167
val `scalafix-data211` = `scalafix-data`(scala211, _.dependsOn(compat211JVM))

0 commit comments

Comments
 (0)