Git Product home page Git Product logo

Comments (9)

joshunger avatar joshunger commented on July 23, 2024 7

This combination worked for me -

"@prettier/plugin-ruby": "1.6.1",
"prettier": "2.2.0",
"prettier-plugin-erb": "^0.4.0"

from prettier-plugin-erb.

abuzzell avatar abuzzell commented on July 23, 2024

I'm seeing this too.

from prettier-plugin-erb.

3atharvkurdukar avatar 3atharvkurdukar commented on July 23, 2024

Same for me as well

from prettier-plugin-erb.

sonnypgs avatar sonnypgs commented on July 23, 2024

Same here.

from prettier-plugin-erb.

akimthedream avatar akimthedream commented on July 23, 2024

Same!

from prettier-plugin-erb.

akimthedream avatar akimthedream commented on July 23, 2024

It seems like the issue occurs in combination with the new release of version 2.0.0 of @prettier/plugin-ruby. I downgraded to "@prettier/plugin-ruby": "1.6.1" and formatting is working now again as expected 🚀

from prettier-plugin-erb.

alanjudson avatar alanjudson commented on July 23, 2024

It seems like the issue occurs in combination with the new release of version 2.0.0 of @prettier/plugin-ruby. I downgraded to "@prettier/plugin-ruby": "1.6.1" and formatting is working now again as expected 🚀

This didn't work for me. I restarted VS Code and still got the "..trim" error

from prettier-plugin-erb.

 avatar commented on July 23, 2024

@akimthedream Hello, can we please see your package.json, tried to downgrade but it wipes out much of the code on save and changes the html tags to I'm trying to guess which combination we need.

It would be big help! thank you, if you have time.

"devDependencies": {
   "@prettier/plugin-ruby": "1.6.1",
   "prettier": "1.9.0",
   "prettier-plugin-erb": "^0.4.0",
   "webpack-dev-server": "^3"
 }

from prettier-plugin-erb.

tmaier avatar tmaier commented on July 23, 2024

This is all related to #49

from prettier-plugin-erb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.