bitcoin-s/.scalafmt.conf

47 lines
783 B
Plaintext
Raw Normal View History

version = "2.6.0"
2018-12-09 20:43:31 +01:00
# 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