Skip to content

Commit

Permalink
Set rewrite.scala3.convertToNewSyntax to true
Browse files Browse the repository at this point in the history
... so that wildcard imports are rewritten from `_` to `*`
  • Loading branch information
fthomas committed Jan 10, 2025
1 parent a4daaf2 commit 238a79d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .scalafmt.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ align.openParenCallSite = false
align.openParenDefnSite = false
maxColumn = 100
rewrite.rules = [AvoidInfix, PreferCurlyFors, RedundantBraces, SortImports, SortModifiers]
rewrite.scala3.convertToNewSyntax = true
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package org.scalasteward.benchmark

import java.util.concurrent.TimeUnit
import org.openjdk.jmh.annotations.{Benchmark, BenchmarkMode, Mode, OutputTimeUnit}
import org.scalasteward.core.data._
import org.scalasteward.core.data.*
import org.scalasteward.core.repoconfig.{UpdatePattern, UpdatesConfig, VersionPattern}
import org.scalasteward.core.util.Nel

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package org.scalasteward.benchmark

import java.util.concurrent.TimeUnit
import org.openjdk.jmh.annotations._
import org.openjdk.jmh.annotations.*
import org.scalasteward.core.data.Version
import org.scalasteward.core.edit.update.VersionPositionScanner
import org.scalasteward.core.io.FileData
Expand Down
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import sbt._
import sbt.*

object Dependencies {
val bcprovJdk15to18 = "org.bouncycastle" % "bcprov-jdk15to18" % "1.79"
Expand Down

0 comments on commit 238a79d

Please sign in to comment.