Skip to content

Commit

Permalink
Merge pull request #188 from lightbend-labs/SethTisue-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
SethTisue authored Aug 18, 2023
2 parents 4b91876 + 0577439 commit ef927b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Add the `sbt-scalafix` sbt plugin, with the SemanticDB compiler plugin enabled (

```scala
// project/plugins.sbt
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.10.4")
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.11.0")
```

```scala
Expand All @@ -22,13 +22,13 @@ inThisBuild(List(
Then run the desired rewrite(s) ([official docs][2]), in sbt:

```scala
> scalafixAll dependency:fix.scala213.ExplicitNonNullaryApply@org.scala-lang:scala-rewrites:0.1.2
> scalafixAll dependency:fix.scala213.ExplicitNonNullaryApply@org.scala-lang:scala-rewrites:<version>
```

You can also add the following to your `build.sbt`:

```scala
ThisBuild / scalafixDependencies += "org.scala-lang" %% "scala-rewrites" % "0.1.3"
ThisBuild / scalafixDependencies += "org.scala-lang" %% "scala-rewrites" % "<version>"
```

and then:
Expand Down

0 comments on commit ef927b5

Please sign in to comment.