Open joemaller opened 8 years ago
My preferred property order is similar to Idiomatic CSS or the example in this CSS-Tricks post:
Another possible option: https://github.com/hudochenkov/postcss-sorting
Seems more actively developed than CSSComb, but with a smaller user base. Configs don't appear to be as portable though, it'd be nice to just drop a dotfile in a repo and forget about it.
Tried it out years ago, taking another look now. Seems like it could make CSS maintenance much faster by clarifying rules.
http://csscomb.com/
Not sure yet which of the default property sort-order configs I like best yet, will probably end up pulling bits and pieces from several.