From 0e42fa08ab8d30c5b7d2d522bba068cd8d1356e6 Mon Sep 17 00:00:00 2001 From: Brice Jaglin Date: Mon, 22 Jan 2024 01:05:40 +0100 Subject: [PATCH] OrganizeImports.targetDialect = Scala3 --- .scalafix.conf | 3 ++- project/plugins.sbt | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.scalafix.conf b/.scalafix.conf index b198692f7448..b084cb6cba83 100644 --- a/.scalafix.conf +++ b/.scalafix.conf @@ -1,2 +1,3 @@ rules = [OrganizeImports] -OrganizeImports.removeUnused = false \ No newline at end of file +OrganizeImports.removeUnused = false +OrganizeImports.targetDialect = Scala3 diff --git a/project/plugins.sbt b/project/plugins.sbt index 53740a7a3e2f..c1edaba3d477 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -23,3 +23,5 @@ addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.2") addSbtPlugin("ch.epfl.scala" % "sbt-tasty-mima" % "1.0.0") addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.11.1") +resolvers += Resolver.sonatypeRepo("snapshots") +dependencyOverrides += "ch.epfl.scala" % "scalafix-interfaces" % "0.11.1+82-462466f6-SNAPSHOT" \ No newline at end of file