Skip to content

Why does Prettier turn trailingComma on? #304

@jorgegonzalez

Description

@jorgegonzalez

The trailingCommas option is based on esnext when Prettier is turned on. But why is this the case? Neither XO nor Prettier allow trailingComma by default.

https://prettier.io/docs/en/options.html#trailing-commas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions