Skip to content

Commit

Permalink
Update scalafmt-core to 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sh0hei committed Sep 16, 2021
1 parent 7ca2c00 commit 57ddff8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
version = 2.7.5
version = 3.0.3

maxColumn = 100
docstrings = JavaDoc
docstrings.style = keep
rewrite.rules = [PreferCurlyFors, RedundantBraces]
rewriteTokens {
"⇒": "=>"
Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ lazy val compileSettings = Def.settings(
case Some((2, 13)) => Seq(file(dir.getPath + "-3.0-"))
case Some((0, _)) => Seq(file(dir.getPath + "-3.0+"))
case Some((3, 0)) => Seq(file(dir.getPath + "-3.0+"))
case other => sys.error(s"unmanagedSourceDirectories for scalaVersion $other not set")
case other => sys.error(s"unmanagedSourceDirectories for scalaVersion $other not set")
}
}
}
Expand All @@ -476,7 +476,7 @@ lazy val scaladocSettings = Def.settings(
//"-diagrams",
"-diagrams-debug",
"-doc-source-url",
s"${scmInfo.value.get.browseUrl}/blob/${tree}€{FILE_PATH}.scala",
s"${scmInfo.value.get.browseUrl}/blob/$tree€{FILE_PATH}.scala",
"-sourcepath",
(LocalRootProject / baseDirectory).value.getAbsolutePath
)
Expand Down

0 comments on commit 57ddff8

Please sign in to comment.