Skip to content
This repository has been archived by the owner on Dec 2, 2018. It is now read-only.

One selector per line? #86

Open
ghost opened this issue Feb 19, 2018 · 3 comments
Open

One selector per line? #86

ghost opened this issue Feb 19, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Feb 19, 2018

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?

@ghost
Copy link
Author

ghost commented Feb 20, 2018

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

Still would be nice to have here.

@hacknug
Copy link

hacknug commented Nov 14, 2018

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

@hacknug
Copy link

hacknug commented Nov 15, 2018

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

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant