Added scalafix

This commit is contained in:
Rohan Sircar 2020-12-27 20:39:57 +05:30
parent dc1bb4ad31
commit 2e142be178
2 changed files with 10 additions and 0 deletions

View File

@ -123,3 +123,12 @@ copyFastOptJS := {
preserveExecutable = true
)
}
ThisBuild / scalafixDependencies += "com.github.liancheng" %% "organize-imports" % "0.4.3"
inThisBuild(
List(
scalaVersion := scalaVersion.value, // 2.11.12, or 2.13.3
semanticdbEnabled := true, // enable SemanticDB
semanticdbVersion := "4.4.2" // use Scalafix compatible version
)
)

View File

@ -2,3 +2,4 @@ addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.3.0")
addSbtPlugin("ch.epfl.scala" % "sbt-scalajs-bundler" % "0.20.0")
resolvers += Resolver.bintrayRepo("oyvindberg", "converter")
addSbtPlugin("org.scalablytyped.converter" % "sbt-converter" % "1.0.0-beta29.1")
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.23")