csscomb.js
csscomb.js copied to clipboard
Comment placement
Is there a way to have commented-out declarations be automatically reordered?
.content {
font-size: 18px;
width: 1000px;
margin: 10px;
border: 1px solid #000;
/* width: 200px; */
background: #fff;
}
Current result:
.content
{
font-size: 18px;
width: 1000px;
margin: 10px;
border: 1px solid #000;
/* width: 200px; */
background: #fff;
}
Failing that, might it be possible to make CSSComb not touch comments? For example, this:
.content {
font-size: 18px;
/* This is pretty. */
background: salmon;
}
gets converted into
.content
{
font-size: 18px;
/* This is pretty. */
background: salmon;
}
And I would like to have the comment kept in the same position that it was before.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
+1 for "not touch comments", having same issue