ruby-syntax-tree / syntax_tree

Interact with the Ruby syntax tree
https://ruby-syntax-tree.github.io/syntax_tree/
MIT License
571 stars 55 forks source link

ERB-formatter #383

Open davidwessman opened 1 year ago

davidwessman commented 1 year ago

Hello!

Love the gem, so I tried to create a version for .html.erb as well. I based it on syntax_tree-xml and have been working on it for a while.

I have a few questions:

I have used it for a few projects but there are probably still lots of cases to handle, so it will take a while to get to a stable version. If you (or anyone else) wants to test it out and give some feedback on the code I would be very grateful 🙏🏻.

(This feels more like a discussion than an issue, but discussions are not enabled for this repository - feel free to close anytime)

davidwessman commented 5 months ago

@kddnewton Would be grateful for your thoughts on this if you have some time to spare. Forgot to link it in the issue: https://github.com/davidwessman/syntax_tree-erb