mute unused nowarn

This commit is contained in:
Adrien Piquerez 2024-03-27 16:18:16 +01:00
parent 129b38f55b
commit 52fd2b4427
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ object HouseRulesPlugin extends AutoPlugin {
scalacOptions ++= "-Ywarn-unused-import".ifScala2x(v => 11 <= v && v <= 12).value.toList,
scalacOptions ++= {
scalaPartV.value match {
case Some((3, _)) => Seq("-Wunused:imports,implicits,nowarn")
case Some((3, _)) => Seq("-Wunused:imports,implicits") // ,nowarn
case Some((2, _)) => Seq("-Ywarn-unused:-privates,-locals,-explicits")
case _ => Seq.empty
}