benjamn / recast

JavaScript syntax tree transformer, nondestructive pretty-printer, and automatic source map generator
MIT License
4.91k stars 347 forks source link

fix: prevent removal of trailing JSX whitespace #1403

Closed eventualbuddha closed 2 months ago

eventualbuddha commented 2 months ago

This just re-applies the fix from #1223 by @coderaiser on top of master.

eventualbuddha commented 2 months ago

Released in v0.23.9.

alexbit-codemod commented 1 month ago

Thank you, @eventualbuddha. Founder of Codemod here, and the maintainer of jscodeshift. I'd love to have a quick chat to run some ideas by you and see how we can help out with some recast improvements. 15min chat?