From db9aa506c8f70bdb39701cafcdc0bd56197fc386 Mon Sep 17 00:00:00 2001 From: Matthew de Detrich Date: Sun, 21 Jul 2024 14:13:21 +0200 Subject: [PATCH] Update scalafmt to remove redundant parens from definition bodies --- .scalafmt.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/.scalafmt.conf b/.scalafmt.conf index ff3b34a3eb7..788725c16e8 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -34,6 +34,7 @@ optIn.breakChainOnFirstMethodDot = false optIn.configStyleArguments = false danglingParentheses.preset = false spaces.inImportCurlyBraces = true +rewrite.rules = [RedundantBraces] rewrite.neverInfix.excludeFilters = [ and min