6502-opcodes/.scalafmt.conf

54 lines
1003 B
Plaintext
Raw Normal View History

2024-04-01 09:24:27 -04:00
version = "3.8.1"
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
docstrings = ScalaDoc
docstrings.blankFirstLine = 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
rewrite.scala3.convertToNewSyntax = true
2023-10-23 13:56:45 -04:00
rewrite.scala3.removeOptionalBraces = true