mirror of
https://github.com/mcanlas/6502-opcodes.git
synced 2024-12-28 02:32:05 +00:00
59 lines
1.1 KiB
Plaintext
59 lines
1.1 KiB
Plaintext
version = "3.8.3"
|
|
|
|
runner.dialect = "scala3"
|
|
|
|
fileOverride {
|
|
"glob:**.sbt" {
|
|
runner.dialect = scala212source3
|
|
}
|
|
|
|
"glob:**/project/**.*" {
|
|
runner.dialect = scala212source3
|
|
}
|
|
}
|
|
|
|
align.preset = more
|
|
|
|
align.tokens = [
|
|
{ code = "=" },
|
|
|
|
{ code = "extends" },
|
|
|
|
{ code = "//" },
|
|
|
|
{ code = "<-", owners = ["Enumerator.Generator"] },
|
|
|
|
{ code = "=", owners = ["(Enumerator.Val|Defn.(Va(l|r)|GivenAlias|Def|Type))"] },
|
|
|
|
{ code = "=>", owners = ["Case"] },
|
|
|
|
{ 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
|
|
|
|
docstrings.style = SpaceAsterisk
|
|
docstrings.blankFirstLine = yes
|
|
docstrings.wrap = yes
|
|
|
|
includeNoParensInSelectChains = true
|
|
optIn.breakChainOnFirstMethodDot = true
|
|
|
|
rewrite.rules = [RedundantBraces]
|
|
rewrite.redundantBraces.ifElseExpressions = true
|
|
rewrite.redundantBraces.stringInterpolation = true
|
|
|
|
rewrite.scala3.convertToNewSyntax = true
|
|
rewrite.scala3.removeOptionalBraces = true
|