aboutsummaryrefslogtreecommitdiff
path: root/.scalafmt
diff options
context:
space:
mode:
Diffstat (limited to '.scalafmt')
-rw-r--r--.scalafmt17
1 files changed, 14 insertions, 3 deletions
diff --git a/.scalafmt b/.scalafmt
index de01a04..4a04fdf 100644
--- a/.scalafmt
+++ b/.scalafmt
@@ -2,10 +2,21 @@
# refer to https://olafurpg.github.io/scalafmt/#Configuration for properties
--style defaultWithAlign # For pretty alignment.
---maxColumn 100 # For my wide 30" display.
+--maxColumn 120 # For my wide 30" display.
+
+--reformatDocstrings true
+--scalaDocs
--continuationIndentCallSite 4
--continuationIndentDefnSite 4
-#--alignTokens
-#--assumeStandardLibraryStripMargin \ No newline at end of file
+--rewriteTokens ⇒;=>,←;<-
+--danglingParentheses false
+--spaceAfterTripleEquals true
+--alignByArrowEnumeratorGenerator true
+--binPackParentConstructors true
+--allowNewlineBeforeColonInMassiveReturnTypes true
+--spacesInImportCurlyBraces true
+
+# --alignByOpenParenCallSite <value>
+# --alignByOpenParenDefnSite <value>