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

ES2017 Trailing comma in function #1356

Closed
nlepage opened this issue Apr 27, 2017 · 1 comment
Closed

ES2017 Trailing comma in function #1356

nlepage opened this issue Apr 27, 2017 · 1 comment
Labels
Milestone

Comments

@nlepage
Copy link

nlepage commented Apr 27, 2017

Would it be possible to allow trailing commas in function declarations and function calls ?

These are allowed as of ES2017, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Trailing_commas

It is supported by babel and eslint, and it would be nice to have it in jsdoc as well.

Anyway thanks for the great work !

@nlepage nlepage changed the title ES2017 Comma dangle in function ES2017 Trailing comma in function Apr 27, 2017
@hegemonic
Copy link
Contributor

We now support this on GitHub master. The change will be released in JSDoc 3.5.0.

@hegemonic hegemonic added this to the 3.5.0 milestone Jul 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants