summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-08-23 11:23:12 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-08-23 11:23:12 +0200
commite9b14f921cdaa0357aa58f4a72f930981b3042fb (patch)
tree489986f9b914d34b8c8ec7aaffd7492318755a47
parent709e226d2b4cf6935c37cebb64172731d97f5cb2 (diff)
Scala: Stricter Scalafmt settings.
Change-Id: Ic84d59edebba6dde5f26ca910fa05d9033b1078e
-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