How can I get scalafmt to format my case class like this?
case class Person(
name: String,
age: Int
) derives Eq, ShowAs opposed to what's happening right now:
case class Person(
name: String,
age: Int
) derives Eq,
Show| version = 3.6.1 | |
| runner.dialect = scala3 | |
| style = defaultWithAlign | |
| maxColumn = 100 | |
| project { | |
| git = true | |
| } | |
| rewrite { | |
| scala3 { | |
| convertToNewSyntax = true | |
| removeOptionalBraces = true | |
| insertEndMarkerMinLines = 30 | |
| removeEndMarkerMaxLines = 29 | |
| } | |
| trailingCommas.style = never | |
| } | |
| fileOverride { | |
| "glob:**/build.sbt" { | |
| runner.dialect = scala213 | |
| } | |
| "glob:**/project/**" { | |
| runner.dialect = scala213 | |
| } | |
| } | |
| newlines.topLevelStatementBlankLines = [ | |
| { | |
| minBreaks = 2 | |
| blanks { before = 1 } | |
| } | |
| ] |