You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A lot of the codemods we have currently have pretty straightforward usage (mostly based on looking for usage of that package on github); import the thing, call the imported thing as a function, so as a start I think it's ok. But if we can improve on it, we can/should :)
I notice some of the codemods are naive in their replacements when it comes to scopes / variable shadowing.
For example let's say the module
foo
could be replaced withSomeStandard.foo()
, we may end up doing:From:
To:
Do we think this is a problem, or for the few cases when this can occur we can leave it up to the developer to correct this?
The text was updated successfully, but these errors were encountered: