simplify linting settings

This commit is contained in:
Mark Canlas 2022-11-02 16:41:23 -04:00
parent fc4e2d03a6
commit 80621a461c

View File

@ -9,12 +9,10 @@ object LintingPlugin extends AutoPlugin {
addCommandAlias("fmt", "; scalafmtSbt; scalafmtAll") ++ addCommandAlias("fmt", "; scalafmtSbt; scalafmtAll") ++
addCommandAlias("fix", "scalafixAll") addCommandAlias("fix", "scalafixAll")
override val projectSettings = override val buildSettings =
inThisBuild( Seq(
Seq( scalafixDependencies += "com.github.liancheng" %% "organize-imports" % "0.5.0",
scalafixDependencies += "com.github.liancheng" %% "organize-imports" % "0.5.0", semanticdbEnabled := true,
semanticdbEnabled := true, semanticdbVersion := scalafixSemanticdb.revision
semanticdbVersion := scalafixSemanticdb.revision )
)
)
} }