Skip to content

Commit

Permalink
chore: remove SBT warning about unused config option in generated pro…
Browse files Browse the repository at this point in the history
…ject
  • Loading branch information
JavierCane committed Jun 20, 2024
1 parent c15e1d0 commit f642f6b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/g8/project/ProjectConfiguration.scala
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ object ProjectConfiguration {
"-unchecked", // More warnings. Strict
"-Xlint", // More warnings when compiling
"-Ywarn-dead-code",
"-Ywarn-unused",
"-Xcheckinit" // Check against early initialization
"-Ywarn-unused"
),
Compile / run / scalacOptions -= "-Xcheckinit", // Remove it in production because it's expensive
Test / scalacOptions += "-Xcheckinit", // Check against early initialization only in tests because it's expensive
javaOptions += "-Duser.timezone=UTC",

// Test options
Expand Down

0 comments on commit f642f6b

Please sign in to comment.