0

I'm using Prettier 2.8 in a Vite project with Tailwind and the Prettier-Tailwind plugin. My .prettierrc is just this:

{
  "plugins": ["prettier-plugin-tailwindcss"],
  "singleAttributePerLine": false,
  "printWidth": 80
}

It's doing everything I want it to, except that it's forcing all the classes onto one line, even if they go past the printWidth. I don't want it to put them one-per-line like it used to, but even if I go add my own line breaks in, it removes them. Is there anything I can tweak in the .prettierrc to stop this? Thanks in advance.

kdsprogrammer
  • 136
  • 1
  • 13

0 Answers0