Skip to content

Commit

Permalink
Remove rules from migrate-syntax that are provided by scala 3 compile…
Browse files Browse the repository at this point in the history
…r rewrite

+ add Explicit result types that helps with the inference
  • Loading branch information
mlachkar committed Jun 11, 2021
1 parent 47d5a4a commit 2aa4577
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions migrate/src/main/scala/migrate/utils/ScalafixService.scala
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,8 @@ object ScalafixService {

val fixSyntaxRules: Seq[String] = Seq(
"ProcedureSyntax",
"fix.scala213.ExplicitNullaryEtaExpansion",
"fix.scala213.ParensAroundLambda",
"fix.scala213.ExplicitNonNullaryApply",
"fix.scala213.Any2StringAdd"
"fix.scala213.Any2StringAdd",
"ExplicitResultTypes"
)
val addExplicitResultTypesAndImplicits: Seq[String] = Seq("MigrationRule")

Expand Down

0 comments on commit 2aa4577

Please sign in to comment.