Skip to content

Commit 12b382e

Browse files
mcc-1326235 scalaoptions p2
1 parent 61f7863 commit 12b382e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

project/BuildSettings.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ object BuildSettings {
3737
"-Wconf:cat=deprecation:s"
3838
), // Stop these being errors, they are fine.
3939
Test / scalacOptions -= "-Wnonunit-statement",
40+
scalacOptions --= {
41+
if (sys.env.contains("CI"))
42+
Seq.empty
43+
else
44+
Seq("-Xfatal-warnings", "-Xlint:unused")
45+
},
4046
)
4147

4248
lazy val noPublishSettings = Seq(

0 commit comments

Comments
 (0)