Hacker News new | past | comments | ask | show | jobs | submit login

This is simple and configurable with Codegen - see the results on `renovate` here: https://www.codegen.sh/codemod/4553/public/diff

Most transformations like this are not possible with pure static analysis and require some domain knowledge (or repo-specific knowledge) in order to pull off correctly. This is because some code gets "used" in ways that are not apparent i the code.

Enjoy!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: