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

add imports. prepare Scala 2.13.13 #164

Merged
merged 1 commit into from
Mar 2, 2024
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
3 changes: 3 additions & 0 deletions rules/src/main/scala/fix/RemoveSamePackageImport.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ package fix

import scala.meta.Importee
import scala.meta.Pkg
import scala.meta.transversers._
import scalafix.Patch
import scalafix.v1.SyntacticDocument
import scalafix.v1.SyntacticRule
import scalafix.v1.XtensionOptionPatch
import scalafix.v1.XtensionSeqPatch

class RemoveSamePackageImport extends SyntacticRule("RemoveSamePackageImport") {

Expand Down
2 changes: 2 additions & 0 deletions rules/src/main/scala/fix/ScalazEitherInfix.scala
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
package fix

import scala.meta.Type
import scala.meta.transversers._
import scalafix.Patch
import scalafix.v1.SemanticDocument
import scalafix.v1.SemanticRule
import scalafix.v1.XtensionSeqPatch
import scalafix.v1.XtensionTreeScalafix

class ScalazEitherInfix extends SemanticRule("ScalazEitherInfix") {
Expand Down
3 changes: 3 additions & 0 deletions rules/src/main/scala/fix/ThrowableToNonFatal.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ import scala.meta.Case
import scala.meta.Pat
import scala.meta.Type
import scala.meta.XtensionQuasiquoteImporter
import scala.meta.prettyprinters._
import scala.meta.transversers._
import scalafix.Patch
import scalafix.v1.SemanticDocument
import scalafix.v1.SemanticRule
import scalafix.v1.XtensionSeqPatch

class ThrowableToNonFatal extends SemanticRule("ThrowableToNonFatal") {
override def fix(implicit doc: SemanticDocument): Patch = {
Expand Down