Skip to content

feat: Preserve trailing commasΒ #150

@spydon

Description

@spydon

Description

After the new formatter was introduced it started removing trailing commas. Trailing commas is a feature which most of the Flutter & Dart community like since it makes the git diffs less noisy and the code easier to read.

My suggestion in that we add trailing_commas: preserve to the next version of very_good_analysis, so that the people depending on this package can continue to enjoy their trailing commas.

This is what would need to be added:

formatter:
  trailing_commas: preserve

Requirements

  • All CI/CD checks are passing.
  • There is no drop in the test coverage percentage.

Additional Context

No response

Metadata

Metadata

Assignees

Labels

featureA new feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions