diff --git a/.scalafmt.conf b/.scalafmt.conf index 881eb35..f6f04bf 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -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