mirror of https://github.com/sbt/sbt.git
mute unused nowarn
This commit is contained in:
parent
129b38f55b
commit
52fd2b4427
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue