From a8e0958d2706bb5cdbc87ab11c4e7973d27de006 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 83b7c74138..e788b42f06 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