Skip to content

Commit

Permalink
Formatting: update config to v3.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
kitbellew committed Mar 7, 2025
1 parent debdf9a commit cbf6c7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=3.8.6
version=3.9.3
runner.dialect = scala213
project {
git = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -385,9 +385,8 @@ object ScalafmtConfig {
}
if (!dialect.allowSignificantIndentation) addIf(newlines.beforeOpenParenCallSite.nonEmpty, errDialect)
addIfDirect( // can't use addIf on multiline conditions
!(binPack.callSite == BinPack.Site.Never && binPack.defnSite == BinPack.Site.Never) && {
newlines.implicitParamListModifierForce.nonEmpty || newlines.implicitParamListModifierPrefer.nonEmpty
},
!(binPack.callSite == BinPack.Site.Never && binPack.defnSite == BinPack.Site.Never) &&
{ newlines.implicitParamListModifierForce.nonEmpty || newlines.implicitParamListModifierPrefer.nonEmpty },
"binPack.xxxSite && newlines.implicitParamListModifierXXX (not implemented)",
)
checkPositive(indent.main, indent.callSite, indent.defnSite, indent.commaSiteRelativeToExtends)
Expand Down

0 comments on commit cbf6c7d

Please sign in to comment.