File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,12 @@ def scalacCommonFlags: Seq[String] = Seq(
1414 " -language:higherKinds" ,
1515 " -language:existentials" ,
1616 " -unchecked" ,
17+ " -Wconf:msg=may.not.be.exhaustive:e" , // Make non-exhaustive matches errors instead of warnings
18+ " -Wconf:msg=Reference.to.uninitialized.value:e" , // Make uninitialised value calls errors instead of warnings
19+ " -Wconf:msg=macrotask:s" , // stfu about macrotasks
1720)
1821
1922def scalac2Flags = Seq (
20- " -Wconf:msg=may.not.be.exhaustive:e" , // Make non-exhaustive matches errors instead of warnings
21- " -Wconf:msg=Reference.to.uninitialized.value:e" , // Make uninitialised value calls errors instead of warnings
2223 " -Wunused:explicits" , // Warn if an explicit parameter is unused.
2324 " -Wunused:implicits" , // Warn if an implicit parameter is unused.
2425 " -Wunused:imports" , // Warn if an import selector is not referenced.
Original file line number Diff line number Diff line change 1+ ../ library/ version.sbt
Original file line number Diff line number Diff line change 1+ // Remove timestamp from SNAPSHOT versions
2+ ThisBuild / version := {
3+ val v = (ThisBuild / version).value
4+ v.replaceFirst(""" \+\d{8}-\d{4}(?=-SNAPSHOT)""" , " " )
5+ }
You can’t perform that action at this time.
0 commit comments