6502-opcodes/.scalafmt.conf

55 lines
1.0 KiB
Plaintext
Raw Normal View History

2024-07-29 14:22:50 +00:00
version = "3.8.3"
2021-09-18 10:17:07 +00:00
2022-02-15 17:04:24 +00:00
runner.dialect = "scala3"
2019-10-28 05:10:59 +00:00
2023-10-03 20:11:23 +00:00
fileOverride {
"glob:**.sbt" {
runner.dialect = scala212source3
}
"glob:**/project/**.*" {
runner.dialect = scala212source3
}
}
2023-01-02 18:02:03 +00: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 13:15:33 +00:00
2023-01-02 18:02:03 +00:00
{ code = "=>", owners = ["Case"] },
2018-09-26 03:49:11 +00:00
2023-01-02 18:02:03 +00: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 18:35:15 +00:00
2024-05-16 20:14:30 +00:00
docstrings.style = SpaceAsterisk
2020-12-07 18:35:15 +00:00
docstrings.blankFirstLine = yes
2024-05-16 20:14:30 +00:00
docstrings.wrap = yes
2021-09-06 07:59:25 +00:00
2022-04-19 03:11:44 +00:00
includeNoParensInSelectChains = true
optIn.breakChainOnFirstMethodDot = true
2023-10-03 20:15:10 +00:00
rewrite.scala3.convertToNewSyntax = true
2023-10-23 17:56:45 +00:00
rewrite.scala3.removeOptionalBraces = true