drop linting

This commit is contained in:
Mark Canlas 2022-02-14 12:32:56 -05:00
parent 88c900b9d5
commit ba0bfacc74
2 changed files with 17 additions and 20 deletions

View File

@ -1,20 +0,0 @@
import sbt.Keys._
import sbt._
import scalafix.sbt.ScalafixPlugin.autoImport._
object LintingPlugin extends AutoPlugin {
override def trigger = allRequirements
override val globalSettings =
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
)
)
}

View File

@ -0,0 +1,17 @@
import sbt.Keys._
import sbt._
/**
* Automatically enriches projects with the following settings (despite the word "override").
*/
object Scala3Plugin extends AutoPlugin {
/**
* Thus plug-in will automatically be enabled; it has no requirements.
*/
override def trigger: PluginTrigger = AllRequirements
override val buildSettings: Seq[Setting[_]] = Seq(
scalaVersion := "2.13.8",
)
}