diff options
Diffstat (limited to 'build.sbt')
| -rw-r--r-- | build.sbt | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -28,8 +28,12 @@ def scalacOptionsVersion(scalaVersion: String): Seq[String] = { } } +addCompilerPlugin(scalafixSemanticdb) // enable SemanticDB + scalacOptions := scalacOptionsVersion(scalaVersion.value) ++ Seq( - "-deprecation" + "-deprecation", + "-Yrangepos", // required by SemanticDB compiler plugin + "-Ywarn-unused-import" // required by `RemoveUnused` rule ) def javacOptionsVersion(scalaVersion: String): Seq[String] = { |
