@@ -57,21 +57,20 @@ val baseScalacOptions = Seq(
5757// https://www.scala-lang.org/2021/01/12/configuring-and-suppressing-warnings.html
5858// cat={warning-name}:ws prints a summary with the number of warnings of the given type
5959// any:e turns all remaining warnings into errors
60- val fatalWarnings = Seq (
61- if (sys.env.get(" MANTIS_FULL_WARNS" ).contains(" true" )) {
62- " -Wconf:any:w"
63- }
64- else {
65- " -Wconf:" ++ Seq (
66- // Let's turn those gradually into errors:
67- " cat=deprecation:ws" ,
68- " cat=lint-package-object-classes:ws" ,
69- " cat=unused:ws" ,
70- " cat=lint-infer-any:ws" ,
71- " cat=lint-byname-implicit:ws" ,
72- " cat=other-match-analysis:ws" ,
73- " any:e" ).mkString(" ," )
74- }) ++ Seq (" -Ypatmat-exhaust-depth" , " off" )
60+ val fatalWarnings = Seq (if (sys.env.get(" MANTIS_FULL_WARNS" ).contains(" true" )) {
61+ " -Wconf:any:w"
62+ } else {
63+ " -Wconf:" ++ Seq (
64+ // Let's turn those gradually into errors:
65+ " cat=deprecation:ws" ,
66+ " cat=lint-package-object-classes:ws" ,
67+ " cat=unused:ws" ,
68+ " cat=lint-infer-any:ws" ,
69+ " cat=lint-byname-implicit:ws" ,
70+ " cat=other-match-analysis:ws" ,
71+ " any:e"
72+ ).mkString(" ," )
73+ }) ++ Seq (" -Ypatmat-exhaust-depth" , " off" )
7574
7675def commonSettings (projectName : String ): Seq [sbt.Def .Setting [_]] = Seq (
7776 name := projectName,
0 commit comments