Skip to content

Commit

Permalink
build: fix scalafix rule for imports, fix build configuration for cov…
Browse files Browse the repository at this point in the history
…erage
  • Loading branch information
cake-lier committed Jun 8, 2023
1 parent 1ddca5c commit 3e1f17d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .scalafix.conf
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ OrganizeImports {
groups = [
"re:javax?\\."
"scala."
"re:^(?!io\\.github\\.pervasivecats)\\."
"io.github.pervasivecats"
"re:^(?!io\\.github\\.cakelier)\\."
"io.github.cakelier"
]
groupedImports = Explode
importSelectorsOrder = SymbolsFirst
Expand Down
2 changes: 0 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Global / onChangedBuildSource := ReloadOnSourceChanges
Global / excludeLintKeys := Set(idePackagePrefix)

ThisBuild / scalafixDependencies ++= Seq(
"com.github.liancheng" %% "organize-imports" % "0.6.0",
"io.github.ghostbuster91.scalafix-unified" %% "unified" % "0.0.8",
"net.pixiv" %% "scalafix-pixiv-rule" % "4.5.1"
)
Expand Down Expand Up @@ -63,7 +62,6 @@ lazy val root = project
),
wartremoverErrors ++= Warts.allBut(Wart.ImplicitParameter),
version := "0.0.0",
coverageEnabled := false,
coverageMinimumStmtTotal := 80,
coverageMinimumBranchTotal := 80,
headerLicense := Some(HeaderLicense.MIT(
Expand Down

0 comments on commit 3e1f17d

Please sign in to comment.