prettier-plugin-erb
prettier-plugin-erb copied to clipboard
Handle 2.3 prettier changes
Issues thanks to incompatibility of prettier 2.3 and above: https://github.com/adamzapasnik/prettier-plugin-erb/issues/97 https://github.com/adamzapasnik/prettier-plugin-erb/issues/44 https://github.com/adamzapasnik/prettier-plugin-erb/issues/97
Here are some upgrades to 2.8.0, but still failing in tests: https://github.com/amkisko/prettier-html-templates - all the issues are visible in tests now https://github.com/amkisko/prettier-plugin-erb - this one is more complex due to changes in prettier and at the moment in tests it always returns 0 bytes output
UPD 27.01.2024: these repositories are removed.
@amkisko great to see this. Does it already make sense for you to share a Work-in-progress (WIP) Pull Request? Maybe in collaboration with @Juice10, who also started a similar Pull Request
@tmaier @Juice10 you are welcome:
- https://github.com/adamzapasnik/prettier-html-templates/pull/56
- https://github.com/adamzapasnik/prettier-plugin-erb/pull/135
It seems that there are some complex problems to solve. :)
Here are some upgrades to 2.8.0, but still failing in tests: amkisko/prettier-html-templates - all the issues are visible in tests now amkisko/prettier-plugin-erb - this one is more complex due to changes in prettier and at the moment in tests it always returns 0 bytes output
Hi @amkisko – why did you delete the amkisko/prettier-html-templates fork?
Did you give up and prettier-plugin-html-erb
is the replacement?
Yes, I did, although PRs are still available, no more changes happened after publishing.
There are few better options available:
- erb-lint (which also adds support for rubocop which is very useful)
- erb-formatter
- rewriting https://github.com/ecmel/prettier-plugin-ejs to support erb, which I did not continue too