fantomas
fantomas copied to clipboard
Multiple records in a list are not aligned
Issue created from fantomas-online
Code
let items = [ {
X = 1
Y = 2
} {
X = 3
Y = 4
} {
X = 5
Y = 6
} ]
Result
let items =
[ { X = 1
Y = 2 }
{ X = 3
Y = 4 }
{ X = 5
Y = 6 } ]
Problem description
I would expect all records to line up.
Extra information
- [ ] The formatted result breaks my code.
- [ ] The formatted result gives compiler warnings.
- [ ] I or my company would be willing to help fix this.
Options
Fantomas master branch at 2022-08-22T08:23:08Z - 2d5db3e6c7b7fb47e374505765ed530dfd934aa2
{ config with
MaxRecordWidth = 4 }
Did you know that you can ignore files when formatting from fantomas-tool or the FAKE targets by using a .fantomasignore file?