Added scalafix
This commit is contained in:
parent
dc1bb4ad31
commit
2e142be178
@ -123,3 +123,12 @@ copyFastOptJS := {
|
|||||||
preserveExecutable = true
|
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
|
||||||
|
)
|
||||||
|
)
|
||||||
|
@ -2,3 +2,4 @@ addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.3.0")
|
|||||||
addSbtPlugin("ch.epfl.scala" % "sbt-scalajs-bundler" % "0.20.0")
|
addSbtPlugin("ch.epfl.scala" % "sbt-scalajs-bundler" % "0.20.0")
|
||||||
resolvers += Resolver.bintrayRepo("oyvindberg", "converter")
|
resolvers += Resolver.bintrayRepo("oyvindberg", "converter")
|
||||||
addSbtPlugin("org.scalablytyped.converter" % "sbt-converter" % "1.0.0-beta29.1")
|
addSbtPlugin("org.scalablytyped.converter" % "sbt-converter" % "1.0.0-beta29.1")
|
||||||
|
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.23")
|
||||||
|
Loading…
Reference in New Issue
Block a user