organize imports 📚

This commit is contained in:
Mark Canlas 2023-05-12 08:03:42 -04:00
parent e1770aa45a
commit 792f476a27

View File

@ -3,7 +3,8 @@ import sbt._
import scalafix.sbt.ScalafixPlugin.autoImport._
object LintingPlugin extends AutoPlugin {
override def trigger = allRequirements
override def trigger =
allRequirements
override val globalSettings =
addCommandAlias("fmt", "; scalafmtSbt; scalafmtAll") ++
@ -11,7 +12,7 @@ object LintingPlugin extends AutoPlugin {
override val buildSettings =
Seq(
scalafixDependencies += "com.github.liancheng" %% "organize-imports" % "0.5.0",
scalafixDependencies += "com.github.liancheng" %% "organize-imports" % "0.6.0",
semanticdbEnabled := true,
semanticdbVersion := scalafixSemanticdb.revision
)