TL;DR: We're proposing a set of style changes to dart format that would affect about 10% of all Dart code. We want to know what you think.
The main change is that you no longer need to manually add or remove trailing commas. Today, the formatter supports two separate styles, which you must control explicitly by adding or removing trailing commas throughout your code. This proposal would remove that choice completely in favor of a single unified style. When an argument list or parameter list splits, it would always be formatted like:
longFunction(
longArgument,
anotherLongArgument,
);
We believe the large churn is worth it to free people from having to remember to apply trailing commas consistently. Dart will be less work to write, edit, and review. We also think the resulting style is better.
You can learn more about the proposal and give us your feedback here:
https://github.com/dart-lang/dart_style/issues/1253
Thank you in advance for your feedback!
– Bob Nystrom, on behalf of the Dart team