Add `maxValueLength`
Justineo opened this issue · 3 comments
Justineo commented
Like maxSelectorLength
, to split value over multiple lines only if its length exceeds the specified limit.
I got results seemed weird now:
.x {
transition-duration: 0.5s,
2s;
}
The following format seems prettier:
.x {
transition-duration: 0.5s, 2s;
}
ben-eb commented
Makes sense. The logic for the maxSelectorLength
needs a bit of cleaning up, so will do #1 at the same time.
Justineo commented
By the way, I'm using perfectionist to generate formatted code showcase for my Less mixin library est and it works quite nicely now :)
ben-eb commented
Nice! 👍