Skip to content

Commit

Permalink
Update scalafmt-core to 3.8.0 (#394)
Browse files Browse the repository at this point in the history
  • Loading branch information
scala-steward authored Feb 19, 2024
1 parent 092e941 commit 3399969
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Scala Steward: Reformat with scalafmt 3.7.15
b88124837b4632490181bbe02aa345a0292a9808

# Scala Steward: Reformat with scalafmt 3.8.0
ae7ede210c5b46ae1bc58a21b74f5d3e12937d43
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "3.7.17"
version = "3.8.0"
maxColumn = 120
align.preset = most
align.multiline = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ import org.apache.commons.lang3.StringUtils.{equalsAny, startsWithAny}
import zio.Chunk
import zio.prelude.{AssertionError, Validator}

object IndexNameValidator extends Validator[String](name => {
object IndexNameValidator
extends Validator[String](name => {
def containsAny(string: String, params: Chunk[String]): Boolean =
params.exists(StringUtils.contains(string, _))

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ import org.apache.commons.lang3.StringUtils.{equalsAny, startsWithAny}
import zio.Chunk
import zio.prelude.{AssertionError, Validator}

object IndexPatternValidator extends Validator[String](pattern => {
object IndexPatternValidator
extends Validator[String](pattern => {
def containsAny(string: String, params: Chunk[String]): Boolean =
params.exists(StringUtils.contains(string, _))

Expand Down

0 comments on commit 3399969

Please sign in to comment.