remove unnecessary scalafix plugin (#2243)

* remove unnecessary scalafix plugin

* Update .scalafix.conf
This commit is contained in:
PJ Fanning 2025-09-20 12:47:35 +01:00 committed by GitHub
parent 1feb26f89e
commit 3a67477afd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 5 deletions

View file

@ -3,7 +3,6 @@ rules = [
RemoveUnused RemoveUnused
SortImports SortImports
ExplicitResultTypes ExplicitResultTypes
"github:ohze/scalafix-rules/FinalObject"
fix.scala213.DottyMigrate fix.scala213.DottyMigrate
// fix.scala213.NullaryOverride // fix.scala213.NullaryOverride
] ]

View file

@ -23,9 +23,6 @@ object ScalaFixExtraRulesPlugin extends AutoPlugin with ScalafixSupport {
import scalafix.sbt.ScalafixPlugin.autoImport.scalafixDependencies import scalafix.sbt.ScalafixPlugin.autoImport.scalafixDependencies
override lazy val projectSettings: Seq[Def.Setting[_]] = super.projectSettings ++ { override lazy val projectSettings: Seq[Def.Setting[_]] = super.projectSettings ++ {
ThisBuild / scalafixDependencies ++= Seq( ThisBuild / scalafixDependencies ++= Seq(
"com.nequissimus" %% "sort-imports" % "0.6.1", "com.nequissimus" %% "sort-imports" % "0.6.1")
// https://github.com/ohze/scala-rewrites
// an extended version of https://github.com/scala/scala-rewrites
"com.sandinh" %% "scala-rewrites" % "0.1.10-sd")
} }
} }