mirror of
https://github.com/mcanlas/6502-opcodes.git
synced 2024-06-26 01:29:31 +00:00
organize imports 📚
This commit is contained in:
parent
e1770aa45a
commit
792f476a27
|
@ -3,7 +3,8 @@ import sbt._
|
||||||
import scalafix.sbt.ScalafixPlugin.autoImport._
|
import scalafix.sbt.ScalafixPlugin.autoImport._
|
||||||
|
|
||||||
object LintingPlugin extends AutoPlugin {
|
object LintingPlugin extends AutoPlugin {
|
||||||
override def trigger = allRequirements
|
override def trigger =
|
||||||
|
allRequirements
|
||||||
|
|
||||||
override val globalSettings =
|
override val globalSettings =
|
||||||
addCommandAlias("fmt", "; scalafmtSbt; scalafmtAll") ++
|
addCommandAlias("fmt", "; scalafmtSbt; scalafmtAll") ++
|
||||||
|
@ -11,7 +12,7 @@ object LintingPlugin extends AutoPlugin {
|
||||||
|
|
||||||
override val buildSettings =
|
override val buildSettings =
|
||||||
Seq(
|
Seq(
|
||||||
scalafixDependencies += "com.github.liancheng" %% "organize-imports" % "0.5.0",
|
scalafixDependencies += "com.github.liancheng" %% "organize-imports" % "0.6.0",
|
||||||
semanticdbEnabled := true,
|
semanticdbEnabled := true,
|
||||||
semanticdbVersion := scalafixSemanticdb.revision
|
semanticdbVersion := scalafixSemanticdb.revision
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user