Skip to content

Commit

Permalink
Merge remote-tracking branch 'amumurst/feature/scala-3.3.0-warnings' …
Browse files Browse the repository at this point in the history
…into pr/settings-refresh
  • Loading branch information
armanbilge committed Jun 18, 2023
2 parents 1e274ad + e26e8d3 commit d15d288
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,20 @@ object TypelevelSettingsPlugin extends AutoPlugin {

val warningsDotty = Seq.empty

val warnings33 = Seq(
"-Wunused:implicits",
"-Wunused:explicits",
"-Wunused:imports",
"-Wunused:locals",
"-Wunused:params",
"-Wunused:privates",
"-Wvalue-discard"
)

scalaVersion.value match {
case V(V(3, minor, _, _)) if minor >= 3 =>
warnings33

case V(V(3, _, _, _)) =>
warningsDotty

Expand Down

0 comments on commit d15d288

Please sign in to comment.