aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/scalafmt.conf
blob: e4f440d8ee9d63bb06acacfcbe1c108ad58d3e0c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# scalafmt sbt plugin config
# refer to https://olafurpg.github.io/scalafmt/#Configuration for properties

project.git = true

style = defaultWithAlign
maxColumn = 120

docstrings = ScalaDoc

continuationIndent.callSite = 2
continuationIndent.defnSite = 4

rewriteTokens: {
  "⇒" = "=>"
  "←" = "<-"
}
danglingParentheses = false
align.arrowEnumeratorGenerator = true
align.openParenCallSite = false
align.openParenDefnSite = false
spaces.afterTripleEquals = true
spaces.inImportCurlyBraces = false
newlines.alwaysBeforeCurlyBraceLambdaParams = false
newlines.sometimesBeforeColonInMethodReturnType = false
binPack.parentConstructors = true
assumeStandardLibraryStripMargin = true

# align.openParenCallSite = <value>
# align.openParenDefnSite = <value>