aqua/.scalafmt.conf

70 lines
1.1 KiB
Plaintext
Raw Normal View History

version = 3.3.1
runner.dialect = scala3
2021-02-25 12:50:42 +00:00
docstrings.style = Asterisk
docstrings.wrap = no
2021-02-25 12:50:42 +00:00
2021-04-05 07:40:51 +00:00
maxColumn = 100
2021-02-25 12:50:42 +00:00
align = none
align {
openParenCallSite = false
openParenDefnSite = false
tokens = [
"%", "%%", "%%%", ":=", "~="
]
}
assumeStandardLibraryStripMargin = true
includeCurlyBraceInSelectChains = false
continuationIndent {
callSite = 2
defnSite = 2
extendSite = 4
}
danglingParentheses.preset = true
2021-02-25 12:50:42 +00:00
# newlines {
# alwaysBeforeTopLevelStatements = true
# sometimesBeforeColonInMethodReturnType = true
# penalizeSingleSelectMultiArgList = false
# alwaysBeforeElseAfterCurlyIf = false
# neverInResultType = false
# }
newlines.topLevelStatementBlankLines = [
{
blanks { before = 1 }
}
]
2021-02-25 12:50:42 +00:00
spaces {
afterKeywordBeforeParen = true
}
binPack {
parentConstructors = true
literalArgumentLists = true
}
optIn {
breaksInsideChains = false
breakChainOnFirstMethodDot = true
configStyleArguments = true
}
runner {
optimizer {
forceConfigStyleOnOffset = 150
forceConfigStyleMinArgCount = 2
}
}
rewrite.rules = [Imports]
rewrite.imports.sort = ascii
rewrite.imports.groups = [
["aqua\\..*"]
]