Open hyunbinseo opened 1 month ago
Actually, there are a few more cases, but my time is limited. We will try to fix the important parts in the long run. Thank you for your feedback!
I think it does not work because of your comment. Without it it seems to work.
For context, the //
is added to format the code multi-line using Prettier.
We will investigate it 🫡
Hi ast-grep author here. 👋 ast-grep is used in the underlying codemod library.
The issue here is probably because the pattern used here is sensitive to comment.
I can give it a look to see if the pattern code can be rewritten into a more robust form.
Hi @hyunbinseo, did you try the Grit version? It isn't sensitive to the comment issue.
This is the only schema that the Codemod failed to transform.