aboutsummaryrefslogblamecommitdiff
path: root/.scalafmt.conf
blob: 8a5d14f095000e0ffc5031cbd0f40ea4bb1bc757 (plain) (tree)




























                                                                            
# 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 = 8

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

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