Skip to content

Declaration newline failing to work. #513

Open
@ghost

Description

Using CSScomb CLI with a configuration made from the online build tool. Even though I am specifying to insert a newline after each declaration, CSScomb is making it single-lined.

Node.js: v7.6.0
NPM: v4.1.2

Input:

*::-webkit-scrollbar-track
{
    color: #222831; 
    border-style: solid;  
    background-color: white;
}

Output:

*::-webkit-scrollbar-track
{
    color: #222831;  border-style: solid;  background-color: white;
}

Configuration:

{
    "remove-empty-rulesets": true,
    "always-semicolon": true,
    "color-case": "upper",
    "block-indent": "  ",
    "color-shorthand": true,
    "element-case": "lower",
    "eof-newline": false,
    "leading-zero": true,
    "quotes": "single",
    "sort-order-fallback": "abc",
    "space-before-colon": "",
    "space-after-colon": " ",
    "space-before-combinator": " ",
    "space-after-combinator": " ",
    "space-between-declarations": "\n",
    "space-before-opening-brace": " ",
    "space-after-opening-brace": "\n",
    "space-after-selector-delimiter": " ",
    "space-before-selector-delimiter": "",
    "space-before-closing-brace": "\n",
    "strip-spaces": true,
    "tab-size": true,
    "unitless-zero": true,
    "vendor-prefix-align": true
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions