-
-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 2.0.0 breaks prettier-plugin-erb #1032
Comments
I appreciate the visibility! There's not too much I can do on my end here though, so I'm going to close this one. I'll see if I can reach out and help though. |
It appears that the author of the ERB plugin isn't actively maintaining the project currently. I would be interested in maintaining my own fork as I'd like to use it at work, but I'm not really familiar at all with how Prettier plugins work or are written. However, I did decide to do some poking around today, and this is what I determined. The issue is that the The error originates on this line. [
{ type: 'concat', parts: [ [Array] ] },
{ type: 'concat', parts: [ [Array], [Array] ] }
] This naturally fails on I don't know how to solve this or progress further, because I don't really understand what Any further pointers would be appreciated as I'm completely new to Prettier and open source JS development in general (not even sure how to properly debug JS libraries like this -- I've had to use print statements like so to get to this level of understanding). |
Not sure if this is the right place or even plugin-ruby's fault, I just wanted to raise awareness about this open issue on prettier-plugin-erb:
adamzapasnik/prettier-plugin-erb#87
Using VSCode + Prettier extension for formatting html.erb files is broken with the new plugin-ruby version 2.0.0 (using prettier-plugin-erb 0.4.0). Follow the link for details. Thank you 🙂
The text was updated successfully, but these errors were encountered: