Skip to content

Commit

Permalink
Update scalafix config for Scala 3 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
kyri-petrou committed Sep 29, 2024
1 parent 71a63bb commit a5d5320
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .scalafix.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ rules = [
OrganizeImports
ProcedureSyntax
RemoveUnused
RedundantSyntax
]

Disable {
Expand All @@ -20,6 +21,8 @@ Disable {
OrganizeImports {
# Allign with IntelliJ IDEA so that they don't fight each other
groupedImports = Merge
targetDialect = Scala3
removeUnused = true
}

RemoveUnused {
Expand Down
1 change: 1 addition & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.4")
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.12.0")
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.5")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.17.0")
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.13.0")

resolvers ++= Resolver.sonatypeOssRepos("public")

0 comments on commit a5d5320

Please sign in to comment.