How do you unable auto multi-line on vscode with prettier?

Viewed 630

I like all the features in Prettier but having auto multi-lines is annoying. Is it possible to have it turned off?

like when adding multiple CSS selectors and HTML attributes, I want to keep them in one line instead of having each selector/attribute on its own line.

for example, on CSS I want it to look like this

h1, h2 {
  color: #1B3E66;
}

instead of automatically doing this on save

h1,
h2 {
  color: #1B3E66;
}
1 Answers
Related