Closed cmstead closed 3 years ago
I've opted to bypass the assignment-only behavior and only support variable declarations for the moment. Otherwise, this is complete and available in the latest release:
https://github.com/cmstead/js-codeformer/releases/tag/v1.11.0
This is a carry-over from JS Refactor. Please see the link below:
https://github.com/cmstead/js-refactor/issues/93
The original issue was a little light on specifics, so I want to make sure I draw out a clear boundary of what will be supported.
I see four distinct cases I can support without running into really strange cases which may not be "worth the squeeze" so to speak:
Any other cases, such as ternaries inside of if conditions, for loop expressions, while conditions, etc. won't be supported as there isn't any clear way they could be.