csscomb.js
csscomb.js copied to clipboard
CSS coding style formatter
Using Sublime Text plugin, but I assume it's a lib parsing issue. ``` css .foo { content: "\\"; } ``` Is comb'ed to: ``` css .foo { content: '\'; }...
**Input** ```less .Thing { &-left { color: red; } &-left&-otherLeft { color: blue; } } ``` **Output** ``` Parsing error: myfile.less Please check validity of the block starting from line...
Hello, ## The problem I found no way to configure position of nested rules when working with scss syntax (not tested on less/sass). I thought that nested rules would be...
Ok, i do 1. npm remove csscomb -g 2. npm remove csscomb 2. remove package.json from project root 3. npm i csscomb 4. npm i csscomb -g 5. put config...
I get the includes with wrong identation and an empty line between ``` @mixin otb-sub-modal-settings() { @include otb-modal-title-settings; @include otb-modal-footer-settings; @include otb-label-settings; @include otb-text-input-settings; @include otb-link-like-settings; } ``` or ```...
I'd expect the results of `"eof-newline": true` to put a newline after every https://github.com/csscomb/csscomb.js/blob/dev/doc/options.md#eof-newline However that is not happening when I run CSS Comb on an entire file. Here is...
Hi everyone! Is it possible to define the order of ampersands[&]? Currently the '&'s are being sorted to the end of the scope. I couldn't find anything in the documentation...
When I run CSScomb in my file "_tools.scss" that contains the function ```sass @function encodecolor($string) { @if type-of($string) == 'color' { $hex: str-slice(ie-hex-str($string), 4); $string:unquote("#{$hex}"); } $string: '%23' + $string;...
I see the [documentation](https://github.com/csscomb/csscomb.js/blob/dev/doc/options.md#sort-order-vs-preprocessors) but I don't found a way to sort by `tag`, `id`, `class` and `@media`. If is not possible, I recommend this implementation.  ## --- Want...
Hi, I can see in the docs you can exclude processing whole files or directories, but I'm wondering whether there's a way to exclude processing particular values in a css...