Skip to content

Trailing Comma "all" setting breaking JSON #2308

@kkemple

Description

@kkemple

I'm not sure if I am not using properly but the issue I'm facing is having the trailing comma option set to all adds it to JSON entries as well. This is causing syntax errors and I have to disable prettier to edit JSON files unless I turn of trailing commas.

This was discovered in VSCode prettier extension so could be an issue there and not here, just thought I would bring it to your attention! If this does end up being an issue it looks interesting and if given some direction I would gladly take a look and open a PR to fix!

jun-27-2017 22-00-11

Metadata

Metadata

Assignees

No one assigned

    Labels

    locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions