2020-08-24 21:24:16 +02:00
|
|
|
version = "2.6.4"
|
2018-12-09 20:43:31 +01:00
|
|
|
# See Documentation at https://scalameta.org/scalafmt/#Configuration
|
2019-09-06 03:02:58 +02:00
|
|
|
trailingCommas = never
|
|
|
|
maxColumn = 80
|
|
|
|
docstrings = ScalaDoc
|
|
|
|
continuationIndent {
|
|
|
|
callSite = 2
|
|
|
|
defnSite = 4
|
|
|
|
}
|
|
|
|
|
|
|
|
align = some
|
|
|
|
align {
|
|
|
|
openParenDefnSite = false
|
|
|
|
openParenCallSite = true
|
|
|
|
}
|
|
|
|
|
|
|
|
danglingParentheses {
|
|
|
|
callSite = false
|
|
|
|
defnSite = false
|
|
|
|
}
|
|
|
|
|
|
|
|
newlines {
|
|
|
|
alwaysBeforeTopLevelStatements = true
|
|
|
|
sometimesBeforeColonInMethodReturnType = false
|
|
|
|
alwaysBeforeCurlyBraceLambdaParams = false
|
|
|
|
}
|
|
|
|
|
|
|
|
assumeStandardLibraryStripMargin = true
|
2019-05-22 12:54:41 +02:00
|
|
|
|
|
|
|
rewrite.rules = [
|
2019-09-06 03:02:58 +02:00
|
|
|
SortModifiers,
|
|
|
|
RedundantParens,
|
|
|
|
SortImports
|
2019-05-22 12:54:41 +02:00
|
|
|
]
|
|
|
|
|
2019-09-06 03:02:58 +02:00
|
|
|
binPack.literalArgumentLists = true
|
|
|
|
|
|
|
|
project {
|
|
|
|
excludeFilters = [
|
|
|
|
.bloop,
|
|
|
|
.metals,
|
|
|
|
target
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-05-22 12:54:41 +02:00
|
|
|
# Consider Rewrite Rules
|