grunt-prettysass
grunt-prettysass copied to clipboard
Fixing problem with alphabetization
First of all, great module! I have a problem when I activate alphabetization with scss files which are structured like that:
#page {
position: relative;
.next,
.prev {
width: 100;
}
}
When i run prettysass over this code, I get the following output:
#page {
.next,
position: relative;
.prev {
width: 100;
}
}
So it seems that if you use a new line for each class or id, the module thinks it is an attribute and sorts it. It have no problems with classes and ids in one line.
Would be great if you can take a look.
same here. Can't use it for now because of this specific issue.
Yep. It would be nice if this could get fixed. Probably going to use CSSComb once it fully supports scss files.