From f18c694ca8fec0ae190de61ae02ab589e659434a Mon Sep 17 00:00:00 2001 From: Tobias Roeser Date: Sat, 2 Mar 2024 16:14:48 +0100 Subject: [PATCH] Add a .scalafmt.conf This is is copied straight from Mill. --- .scalafmt.conf | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .scalafmt.conf diff --git a/.scalafmt.conf b/.scalafmt.conf new file mode 100644 index 000000000..94752dfaa --- /dev/null +++ b/.scalafmt.conf @@ -0,0 +1,24 @@ +# Newer versions won't work with Java 8! +version = "3.7.15" + +align.openParenCallSite = false +align.preset = none +align.stripMargin = true + +assumeStandardLibraryStripMargin = true + +continuationIndent.callSite = 2 +continuationIndent.defnSite = 4 + +docstrings.oneline = keep +docstrings.style = Asterisk +docstrings.wrap = no + +maxColumn = 100 + +newlines.source = keep + +project.git = true + +runner.dialect = scala213 +