Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option for trailing commas #33

Closed
vjpr opened this issue May 29, 2016 · 1 comment
Closed

Option for trailing commas #33

vjpr opened this issue May 29, 2016 · 1 comment

Comments

@vjpr
Copy link

vjpr commented May 29, 2016

Use case is generating a json value for a variable. When eslinting with trailing commas this is neccessary.

Should probably support all the eslint json settings really.

Similar issue from json5: json5/json5#66


eslint has a fix option for the rule comma-dangle. https://github.com/eslint/eslint/blob/master/lib/rules/comma-dangle.js#L161

@sindresorhus
Copy link
Member

Out of scope for this project, unfortunately. Fork or find something that's intended to be fully configurable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants