Skip to content

Commit

Permalink
scalafmt braces
Browse files Browse the repository at this point in the history
  • Loading branch information
mcanlas committed Aug 7, 2024
1 parent 182a45c commit fb51ba2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .scalafmt.conf
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,9 @@ docstrings.wrap = yes
includeNoParensInSelectChains = true
optIn.breakChainOnFirstMethodDot = true

rewrite.rules = [RedundantBraces]
rewrite.redundantBraces.ifElseExpressions = true
rewrite.redundantBraces.stringInterpolation = true

rewrite.scala3.convertToNewSyntax = true
rewrite.scala3.removeOptionalBraces = true

0 comments on commit fb51ba2

Please sign in to comment.