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("fix", "scalafixAll")
override val projectSettings =
inThisBuild(
Seq(
scalafixDependencies += "com.github.liancheng" %% "organize-imports" % "0.5.0",
semanticdbEnabled := true,
semanticdbVersion := scalafixSemanticdb.revision
)
)
override val buildSettings =
Seq(
scalafixDependencies += "com.github.liancheng" %% "organize-imports" % "0.5.0",
semanticdbEnabled := true,
semanticdbVersion := scalafixSemanticdb.revision
)
}