2024-07-29 10:22:50 -04:00
|
|
|
version = "3.8.3"
|
2021-09-18 06:17:07 -04:00
|
|
|
|
2022-02-15 12:04:24 -05:00
|
|
|
runner.dialect = "scala3"
|
2019-10-28 01:10:59 -04:00
|
|
|
|
2023-10-03 16:11:23 -04:00
|
|
|
fileOverride {
|
|
|
|
"glob:**.sbt" {
|
|
|
|
runner.dialect = scala212source3
|
|
|
|
}
|
|
|
|
|
|
|
|
"glob:**/project/**.*" {
|
|
|
|
runner.dialect = scala212source3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-02 13:02:03 -05:00
|
|
|
align.preset = more
|
|
|
|
|
|
|
|
align.tokens = [
|
|
|
|
{ code = "=" },
|
|
|
|
|
|
|
|
{ code = "extends" },
|
|
|
|
|
|
|
|
{ code = "//" },
|
|
|
|
|
|
|
|
{ code = "<-", owners = ["Enumerator.Generator"] },
|
|
|
|
|
|
|
|
{ code = "=", owners = ["(Enumerator.Val|Defn.(Va(l|r)|GivenAlias|Def|Type))"] },
|
2018-09-29 09:15:33 -04:00
|
|
|
|
2023-01-02 13:02:03 -05:00
|
|
|
{ code = "=>", owners = ["Case"] },
|
2018-09-25 23:49:11 -04:00
|
|
|
|
2023-01-02 13:02:03 -05:00
|
|
|
{ code = "->", owners = ["Term.ApplyInfix"] },
|
|
|
|
|
|
|
|
{ code = ":=", owners = ["Term.ApplyInfix"] },
|
|
|
|
{ code = "%", owners = ["Term.ApplyInfix"] },
|
|
|
|
{ code = "%%", owners = ["Term.ApplyInfix"] }
|
|
|
|
]
|
|
|
|
|
|
|
|
align.allowOverflow = true,
|
|
|
|
|
|
|
|
align.tokenCategory = {
|
|
|
|
Equals = Assign,
|
|
|
|
LeftArrow = Assign
|
|
|
|
}
|
|
|
|
|
|
|
|
maxColumn = 120
|
2020-12-07 13:35:15 -05:00
|
|
|
|
2024-05-16 16:14:30 -04:00
|
|
|
docstrings.style = SpaceAsterisk
|
2020-12-07 13:35:15 -05:00
|
|
|
docstrings.blankFirstLine = yes
|
2024-05-16 16:14:30 -04:00
|
|
|
docstrings.wrap = yes
|
2021-09-06 03:59:25 -04:00
|
|
|
|
2022-04-18 23:11:44 -04:00
|
|
|
includeNoParensInSelectChains = true
|
|
|
|
optIn.breakChainOnFirstMethodDot = true
|
2023-10-03 16:15:10 -04:00
|
|
|
|
2024-08-07 07:11:06 -04:00
|
|
|
rewrite.rules = [RedundantBraces]
|
|
|
|
rewrite.redundantBraces.ifElseExpressions = true
|
|
|
|
rewrite.redundantBraces.stringInterpolation = true
|
|
|
|
|
2023-10-03 16:15:10 -04:00
|
|
|
rewrite.scala3.convertToNewSyntax = true
|
2023-10-23 13:56:45 -04:00
|
|
|
rewrite.scala3.removeOptionalBraces = true
|