diff --git a/scalafix-core/src/main/scala/scalafix/internal/config/ScalafixConfig.scala b/scalafix-core/src/main/scala/scalafix/internal/config/ScalafixConfig.scala index 791ee17dd..4eef68641 100644 --- a/scalafix-core/src/main/scala/scalafix/internal/config/ScalafixConfig.scala +++ b/scalafix-core/src/main/scala/scalafix/internal/config/ScalafixConfig.scala @@ -4,14 +4,10 @@ import scala.meta._ import metaconfig._ import metaconfig.generic.Surface -import scalafix.Versions import scalafix.internal.config.ScalafixConfig._ case class ScalafixConfig( - version: String = Versions.version, - debug: DebugConfig = DebugConfig(), groupImportsByPrefix: Boolean = true, - fatalWarnings: Boolean = true, reporter: ScalafixReporter = ScalafixReporter.default, patches: ConfigRulePatches = ConfigRulePatches.default, scalaVersion: ScalaVersion = ScalaVersion.scala2, diff --git a/scalafix-tests/unit/src/test/scala/scalafix/tests/config/ScalafixConfigSuite.scala b/scalafix-tests/unit/src/test/scala/scalafix/tests/config/ScalafixConfigSuite.scala index d0cadce43..3981a0928 100644 --- a/scalafix-tests/unit/src/test/scala/scalafix/tests/config/ScalafixConfigSuite.scala +++ b/scalafix-tests/unit/src/test/scala/scalafix/tests/config/ScalafixConfigSuite.scala @@ -14,8 +14,8 @@ class ScalafixConfigSuite extends munit.FunSuite { } } check( - "version", - "version = abba", - ScalafixConfig(version = "abba") + "groupImportsByPrefix", + "groupImportsByPrefix = true", + ScalafixConfig(groupImportsByPrefix = true) ) }