mirror of
https://github.com/mcanlas/6502-opcodes.git
synced 2026-04-20 13:17:04 +00:00
wartremover settings 🎸
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import sbt.Keys.*
|
||||
import sbt.*
|
||||
import scalafix.sbt.ScalafixPlugin.autoImport.*
|
||||
import wartremover.Wart
|
||||
import wartremover.WartRemover.autoImport.*
|
||||
|
||||
object LintingPlugin extends AutoPlugin {
|
||||
override def trigger =
|
||||
@@ -12,6 +14,7 @@ object LintingPlugin extends AutoPlugin {
|
||||
|
||||
override val buildSettings =
|
||||
Seq(
|
||||
wartremoverErrors ++= Warts.unsafe diff List(Wart.Any),
|
||||
semanticdbEnabled := true,
|
||||
semanticdbVersion := scalafixSemanticdb.revision
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user