Skip to content

Commit

Permalink
Merge pull request #342 from lichess-org/other-for-safe-init
Browse files Browse the repository at this point in the history
Use ScalaOptions.other for -Wsafe-init
  • Loading branch information
lenguyenthanh authored Aug 28, 2024
2 parents 4005799 + 7c866fb commit 0e2f4a3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,13 @@ lazy val app = project
.settings(
name := "lila-fishnet",
organization := "org.lichess",
scalacOptions ++= Seq(
"-Wsafe-init" // fix in: https://github.com/typelevel/scalac-options/pull/136
),
tpolecatScalacOptions ++= Set(
ScalacOptions.sourceFuture,
ScalacOptions.other("-rewrite"),
ScalacOptions.other("-indent"),
ScalacOptions.explain,
ScalacOptions.release("21")
ScalacOptions.release("21"),
ScalacOptions.other("-Wsafe-init"), // fix in: https://github.com/typelevel/scalac-options/pull/136
),
resolvers ++= Seq(Dependencies.lilaMaven),
libraryDependencies ++= Seq(
Expand Down

0 comments on commit 0e2f4a3

Please sign in to comment.