summaryrefslogtreecommitdiff
path: root/.scalafmt.conf
diff options
context:
space:
mode:
Diffstat (limited to '.scalafmt.conf')
-rw-r--r--.scalafmt.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/.scalafmt.conf b/.scalafmt.conf
index a1fde4d..20d91a4 100644
--- a/.scalafmt.conf
+++ b/.scalafmt.conf
@@ -2,3 +2,7 @@ edition = 2019-10
maxColumn = 100
docstrings = JavaDoc
assumeStandardLibraryStripMargin = true
+rewrite.rules = [AvoidInfix, PreferCurlyFors, RedundantBraces, RedundantParens, SortModifiers, SortImports]
+rewrite.redundantBraces.generalExpressions = true
+trailingCommas = preserve
+optIn.forceBlankLineBeforeDocstring = true