Elon Volo

Results 28 comments of Elon Volo

> “most Meta employees don't even know this can be done in TypeScript.“ Then probably neither does recast. 😂

This is something that is happening at the recast level. I temporarily downgraded jscodeshift's version of recast to 0.20.4 and the extra parentheses went away. Do the extra parentheses actually...

Here's what I believe is the issue. ``` The JSX node itself is node.extra.parenthesized, and the printer always adds parens when returning a multiline JSX node as a return statement....

I've been having the same problem with the generators

Away from computer so I haven't yet validated that this works, but try changing Property to ObjectProperty I believe the node type got changed on babel 6. https://github.com/babel/babel/blob/main/.github/CHANGELOG-v6.md

The biggest issue with the docs, IMHO, is a lack of information on how to debug codemods using the VSCode debugger. Which I did correct (albeit somewhat inelegantly) in evcodeshift’s...

PR #660 has had this ready to go for two years. This really needs to be merged, as there's no shortage of angular code that makes use of class decorators....

Can you post an example of what you're trying to transform the code in **source.index** into? What is the finished result that you want to see?

Because I needed more functionality/bugfixes for my logitall project and I couldn't wait on jscodeshift to accept new PR's, I ended up forking off jscodeshift into evcodeshift. https://github.com/elonvolo/evcodeshift I updated...

My prediction: I’m guessing there might be a fair amount of stagnation in the project until some crisis at Meta arises from a jscodeshift transform gone bad. Because someone will...