Format: Trailing commas #318
Closed
sebastian-peter
started this conversation in
Ideas
Replies: 1 comment
-
Created issue: #719 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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
Beta Was this translation helpful? Give feedback.
All reactions