Skip to content

Commit

Permalink
Add some additional config for the semanticdb
Browse files Browse the repository at this point in the history
  • Loading branch information
gpampara committed Jun 1, 2021
1 parent b455b1f commit 50f927a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.sbt
Expand Up @@ -26,7 +26,10 @@ inThisBuild(
ScmInfo(url("https://github.com/ciren/cilib/"), "scm:git:git@github.com:ciren/cilib.git")
),
scalafixDependencies += "com.nequissimus" %% "sort-imports" % "0.5.0",
scalafixScalaBinaryVersion := scalaBinaryVersion.value
scalafixScalaBinaryVersion := scalaBinaryVersion.value,
semanticdbEnabled := true, // enable SemanticDB
semanticdbVersion := scalafixSemanticdb.revision, // only required for Scala 2.x
scalacOptions += "-Ywarn-unused-import" // Scala 2.x only, required by `RemoveUnused`
)
)

Expand Down

0 comments on commit 50f927a

Please sign in to comment.