csscomb.js
csscomb.js copied to clipboard
CSS coding style formatter
The decision to do fallback-sorting in sort-option.js happens only based on a.groupIndex === lastGroupIndex, incorrectly ignoring a.propertyIndex === lastPropertyIndex, and thus sorting everything in the group containing "..." together as...
config: ``` "remove-empty-rulesets": true, "always-semicolon": true, "color-case": "lower", "block-indent": " ", "color-shorthand": false, "element-case": "lower", "eof-newline": true, "leading-zero": true, "quotes": "single", "sort-order-fallback": "abc", "space-before-colon": "", "space-after-colon": " ", "space-before-combinator": "...
Is it possible to add a new life before pseudo elements like `&:before`, `&:after`, `&:focus` etc? Edit: I'm using the dev build Before: ``` .folder-button{ color: #000; background-color: #fff; &:hover{...
## --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1519068-add-tests-for-cli-js?utm_campaign=plugin&utm_content=tracker%2F214563&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F214563&utm_medium=issues&utm_source=github).
I am using css comb via atom-css-comb. interpolated selector names. are being reduced to lowercase instead of respecting camelCase naming, is this expected behaviour? **before** ``` #{$blockname}-fooBar{ } ``` **expected**...
We should allow users to set both `\n` and `\t` as a value for any whitespace options. However, there are currently two problems: 1. `\n` is inserted as is, without...
Make a list of rejected options to give people an idea of what plugin to write. See label `wontfix`: https://github.com/csscomb/csscomb.js/issues?utf8=✓&q=is%3Aissue+label%3Awontfix+ ## --- Want to back this issue? **[Post a bounty...
From discussion with @matmuchrapna: Allow using sort orders from predefined configs as `sort-order-fallback` option. For example: ``` json { "always-semicolon": true, "sort-order": ["color", "..."], "sort-order-fallback": "yandex" } ``` ``` scss...
In that case border-color will not aplly. So you need write color in such ways: border-bottom: {width} {style} {color}; or border-bottom-color: ...; border-bottom-width: ...; border-bottom-style: ...; or correct default config,...
The detection (#87) was done before the patch that added preprocessors support (#95), so it lacks the support for detecting used options in the `.scss` and `.less` files. We should...