Closed lrhn closed 7 years ago
This might warrant an entry in the style guide to say how trailing commas should be used.
Eventually, yes, but for now, I want to leave it unspecified and do some ethnography—lets see how the natives decide to use it in the wild.
Thanks for the tracking bug!
Fixed in dartfmt by: https://github.com/dart-lang/dart_style/issues/509
Closing this for the style guide since we don't currently plan to give guidance for this.
This is the formatting-specific issue for #26644. That issue has the details.
This might warrant an entry in the style guide to say how trailing commas should be used. The formatter needs to handle trailing commas without ignoring them and format according to the style guide (https://github.com/dart-lang/dart_style/issues/509).