Skip to content

Commit

Permalink
Merge pull request #685 from satabin/scalafix-before-scalafmt
Browse files Browse the repository at this point in the history
Run scalafix before scalafmt in `prePR`
  • Loading branch information
armanbilge authored Mar 1, 2024
2 parents 28ca81e + ecff046 commit 92a7588
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/scala/org/typelevel/sbt/TypelevelPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ object TypelevelPlugin extends AutoPlugin {

val prePR = List("project /", "githubWorkflowGenerate") ++
List("+headerCreateAll").filter(_ => header) ++
List("+scalafmtAll", "scalafmtSbt").filter(_ => scalafmt) ++
List("+scalafixAll").filter(_ => scalafix)
List("+scalafixAll").filter(_ => scalafix) ++
List("+scalafmtAll", "scalafmtSbt").filter(_ => scalafmt)

val botHook = List("githubWorkflowGenerate") ++
List("+headerCreateAll").filter(_ => header) ++
Expand Down

0 comments on commit 92a7588

Please sign in to comment.