-
Notifications
You must be signed in to change notification settings - Fork 479
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
Cannot build ImportDefaultSpecifier #33
Comments
Regarding printing: benjamn/recast/pull/209 |
Possibly related: benjamn/recast#206 |
^ Ah, thank you. I haven seen that issue before :) |
This seems to have been resolved in recast? |
Printing yes, but not building (I think). |
@benjamn does building work yet? |
This should work as of https://github.com/benjamn/ast-types/releases/tag/v0.8.9, thanks to @marcioj. Upgrading to recast 0.10.29 should do the trick: https://github.com/benjamn/recast/releases/tag/v0.10.29 |
Also simplifies the logic. I originally based it off https://github.com/yannickcr/eslint-plugin-react/blob/master/lib/rules/sort-comp.js, but it doesn't need to be nearly as complex because it doesn't have to give useful error output.
take method ordering in sort-comp as an option
@benjamn I'm getting a similar error with with Was there a breaking change in recent releases of
|
It always complains about a missing id which I'm not able to provide when I try to build it with functions. Using template I can get a little bit farther and then manually set the id. Not sure if this is an error on jscodeshift or a library that is being consumed by jscodeshift, but since I can repro in the AST explorer I'll just start by reporting here :)
http://felix-kling.de/esprima_ast_explorer/#/odivoefENV/1
The text was updated successfully, but these errors were encountered: