Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scalafix 0.10.0-RC1 #296

Merged
merged 1 commit into from
Apr 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.9.34"
def scalafixVersion: String = "0.10.0-RC1"

val all = List(
"org.eclipse.jgit" % "org.eclipse.jgit" % "5.13.0.202109080827-r",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class SbtCompletionsSuite extends AnyFunSuite {

val exampleDependency = {
import sbt._
"ch.epfl.scala" %% "example-scalafix-rule" % "1.4.0"
"ch.epfl.scala" %% "example-scalafix-rule" % "2.0.0-RC1"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

necessary to avoid getting the noise of the compatibility warning in stdout

}
val mainArgs =
ScalafixInterface
Expand Down Expand Up @@ -100,7 +100,7 @@ class SbtCompletionsSuite extends AnyFunSuite {
|DisableSyntax
| Reports an error for disabled features such as var or XML literals.
|ExplicitResultTypes
| Inserts type annotations for inferred public members. Only compatible with Scala 2.11.12, 2.12.13, 2.12.14, 2.12.15, 2.13.6, 2.13.7, 2.13.8.
| Inserts type annotations for inferred public members. Only compatible with Scala 2.x.
|LeakingImplicitClassVal
| Adds 'private' to val parameters of implicit value classes
|NoAutoTupling
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class ScalafixAPISuite extends AnyFunSuite {
val interface = ScalafixInterface
.fromToolClasspath(
"2.12",
List("ch.epfl.scala" %% "example-scalafix-rule" % "1.4.0"),
List("ch.epfl.scala" %% "example-scalafix-rule" % "2.0.0-RC1"),
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

necessary to avoid getting the noise of the compatibility warning in stdout

Seq(
Repository.central,
MavenRepository.of(
Expand Down