tofu
tofu copied to clipboard
Consider changing scalafmt rules
I do support the need for a forced formatter in a project with many contributors, but the current ruleset is awful and doesn't work properly in IDEA (has some wrong fields).
@ReiReiRei attn
@catostrophe do not mind. Rules had been set by @Odomontois so I have decided do not change them. Anyway, if rules are changed it meens a new large commit with reformated code. Anyway I think @catostrophe should create new issue for IDEA for better scalafmt support.
I tried .scalafmt.conf from Izumi repo. Liked the result, but I would suggest a few changes:
-
maxColumn = 120
- drop
newlines.alwaysBeforeCurlyBraceLambdaParams = true