mirror of
https://github.com/mcanlas/6502-opcodes.git
synced 2025-01-02 17:30:44 +00:00
drop linting
This commit is contained in:
parent
88c900b9d5
commit
ba0bfacc74
@ -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
|
||||
)
|
||||
)
|
||||
}
|
17
project/Scala3Plugin.scala
Normal file
17
project/Scala3Plugin.scala
Normal 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",
|
||||
)
|
||||
}
|
Loading…
Reference in New Issue
Block a user