Skip to content

Reduce the use of trailing commas #1130

@devoncarew

Description

@devoncarew

This package was updated to use trailing commas for generated parameter and expression lists in order to address (substantial) dart format slowdowns when formatting some larger generated files.

It would be nice to dial back the use of trailing commas a bit so that shorter methods (with <= three parameters?) are generated without trailing commas.

dart-archive/code_builder#390 was one such attempt at reducing the use of trailing commas.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions