bitcoin-s/.scalafmt.conf
Scala Steward bef9c2648e Update scalafmt-core to 2.6.4 (#1686)
* Update scalafmt-core to 2.6.4

* Format everything

Co-authored-by: Ben Carman <benthecarman@live.com>
2020-08-24 14:24:16 -05:00

47 lines
783 B
Plaintext

version = "2.6.4"
# See Documentation at https://scalameta.org/scalafmt/#Configuration
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
rewrite.rules = [
SortModifiers,
RedundantParens,
SortImports
]
binPack.literalArgumentLists = true
project {
excludeFilters = [
.bloop,
.metals,
target
]
}
# Consider Rewrite Rules