Open silverwind opened 8 years ago
For wrapping long list of selectors, support for max-line-length would be great to have. This can get a bit tricky to get right when it comes to comments and url, which should probably be left out from wrapping.
max-line-length
url
.aaaaaaaaaaaaaaaaaaaaaaaaaaa, .bbbbbbbbbbbbbbbbbbbbbbbbbbb, .ccccccccccccccccccccccccccc, .ddddddddddddddddddddddddddd { color: blue; }
It seems nice! But, it is only for selectors. Now, I have no idea to handle comments and url as you said. Thanks for your idea :)
Maybe the code used by perfectionist would help?
For wrapping long list of selectors, support for
max-line-length
would be great to have. This can get a bit tricky to get right when it comes to comments andurl
, which should probably be left out from wrapping.Example input
Example output, wrapped at 80: