csscomb.js
csscomb.js copied to clipboard
CSS coding style formatter
Hello, I wonder if is possible to completely disable code formatting. E. g. I've got: ``` .class1 { display: block; font-size: 1rem; } .class2 { font-size: 1rem; display: block; }...
 the block-indent work losing the indent of `style` tag. How can I fixed it? Add another package?
I have found `zen` and `yandex` [configs](https://github.com/csscomb/csscomb.js/tree/master/config) would make `csscomb` strike. I could confirm this is not an error related to IDE, neither WebStorm plugin nor command line program would...
My settings: ``` { "always-semicolon": true, "block-indent": " ", "color-case": "lower", "color-shorthand": true, "element-case": "lower", "eof-newline": true, "leading-zero": false, "quotes": "single", "remove-empty-rulesets": true, "space-after-colon": "", "space-after-combinator": " ", "space-after-opening-brace": "",...
## Issue I set `true` for `remove-empty-rulesets` but when i run my script to format my scss with configuration csscomb i see a mistake. ### Configuration csscomb ```json { "always-semicolon":...
When I have my .scss file it looks like this `a.nav-footer__link { color: $white; &:hover{ color: $prm-clr; } word-spacing: 5px; font-size:22px; padding: 10px; text-transform: uppercase; text-decoration: none; } ` when...
When using SASS comments inline, for instance next to a declaration, the whole formatting breaks apart. **Example:** ``` scss .input { font-family: inherit; // My awesome comment line-height: 20px; }...
When I add "sort-order" all of my @include lose their indention. They behave as if they were first level properties. I have an @include inside another @include. Another thing I...
Ran [import.css](https://github.com/csscomb/csscomb.js/blob/master/test/options/sort-order-scss/import.scss) through [csscomb.com/online](http://csscomb.com/online) and expected [import.expected.scss](https://github.com/csscomb/csscomb.js/blob/master/test/options/sort-order-scss/import.expected.scss) instead I got: ``` div { color: tomato; @import 'foo.css'; } ``` Seeing similar issue with `@include` and `@extend` Noticed this bug using...
Hi! I was considering to add CSSComb sort order to my sass-lint config and found 82 CSS properties missing. How do you prefer I submit a pull request? All properties...