ben-eb/perfectionist

One selector per line?

Opened this issue · 3 comments

I'm looking to have output like this:

foo,
bar,
baz { qux: quux; }

However, all three format options seem to leave the selectors on one line. Is this possible?

I was able to make a postcss plugin that runs after perfectionist that does what I want.

Still would be nice to have here.

EDIT: Just noticed that if I set maxSelectorLength to 1 instead of false I get the exact desired output.

Assuming this solves our issue given @errorx666 reactions to my comment haha

Should we update the docs to explicitly mention this behavior, @ben-eb?