-
Notifications
You must be signed in to change notification settings - Fork 484
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
ES6 support #29
Comments
Looks like espree does this better and doesn't break from the AST tradition like babel does |
+1 for Espree http://eslint.org/blog/2014/12/espree-esprima/ |
This will be actionable once #732 is merged, and I'll write a thorough summary for help wanted. |
I first dove in on trying to solve
But this is unfortunately tricky. We prefer to parse comments as leadingComments first, and that comment is a leading comment for the function body as well as a trailing comment for the param Destructuring patterns don't have this problem. Looking into them. |
This allows users to add comments within destructuring patterns, ObjectPattern and ArrayPattern, that add documentation for specific parameters. Fixes #29
Currently blocked by lack of parser support: http://esprima.org/doc/es6.html
Running list of things to support:
Switch to espree
JSDocs in destructuring assignment:
The text was updated successfully, but these errors were encountered: