Skip to content

Commit

Permalink
scalafix 0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bjaglin committed Mar 2, 2024
1 parent 95b8f98 commit 1b96fa4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import sbt._

object Dependencies {
val x = List(1) // scalafix:ok
def scalafixVersion: String = "0.11.1"
def scalafixVersion: String = "0.12.0"

val all = List(
"org.eclipse.jgit" % "org.eclipse.jgit" % "5.13.3.202401111512-r",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,13 @@ class SbtCompletionsSuite extends AnyFunSuite {
|NoValInForComprehension
| Removes deprecated val inside for-comprehension binders
|OrganizeImports
| Organize import statements
|ProcedureSyntax
| Replaces deprecated procedure syntax with explicit ': Unit ='
|RedundantSyntax
| Removes redundant syntax such as `final` modifiers on an object
|RemoveUnused
| Removes unused imports and terms that reported by the compiler under -Ywarn-unused
| Removes unused imports and terms that reported by the compiler under -Wunused
|SemanticRule
|SyntacticRule
|class:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class ScalafixAPISuite extends AnyFunSuite {
val interface = ScalafixInterface
.fromToolClasspath(
"2.12",
List("ch.epfl.scala" %% "example-scalafix-rule" % "3.0.0"),
List("ch.epfl.scala" %% "example-scalafix-rule" % "4.0.0"),
Seq(
Repository.central,
MavenRepository.of(
Expand Down

0 comments on commit 1b96fa4

Please sign in to comment.