Prettier Configuration

So I have a CSS code as below:
h1 > * {
/* some styling */
}
h1 > * {
/* some styling */
}
and prettier tidy it like this:
h1>* {
/* some styling */
}
h1>* {
/* some styling */
}
is there a way to prevent that behavior? or maybe make it reverse, from cluttered to spaced.
1 Reply
Kevin Powell
Kevin Powell•5mo ago
I don't think that's Prettier, I think it's straight from VS Code. afaik, Prettier doesn't do much with CSS and config is very limted. In VS Code settings, search for "space around" and you'll find what you're looking for 😄
Want results from more Discord servers?
Add your server