You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by sebastian-peter August 26, 2022
My proposal is to use trailing commas. They can reduce the amount of lines changed and simplify merges with conflicting lines a lot.
Discussed in #318
Originally posted by sebastian-peter August 26, 2022
My proposal is to use trailing commas. They can reduce the amount of lines changed and simplify merges with conflicting lines a lot.
This webpage gives a short introduction, and this blog post explains the benefit with merge conflicts.
spotless for Scala has an option to enforce them, no extra work required from our side:
rewrite.trailingCommas.style = always
The text was updated successfully, but these errors were encountered: