Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declaration newline failing to work. #513

Open
ghost opened this issue Apr 20, 2017 · 5 comments
Open

Declaration newline failing to work. #513

ghost opened this issue Apr 20, 2017 · 5 comments
Milestone

Comments

@ghost
Copy link

ghost commented Apr 20, 2017

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
}
@kostia-hontarau
Copy link

Have the similar issue.

@obenjiro
Copy link
Contributor

@KostiaGontarev @UNST4BL3 what OS ? (I'm might be not related, but still)

@ghost
Copy link
Author

ghost commented Aug 18, 2017

I believe it was on Windows 10.

@kostia-hontarau
Copy link

kostia-hontarau commented Aug 23, 2017

I believe it was on Windows 10.

That's right :)

@jdalton
Copy link
Contributor

jdalton commented May 7, 2019

Works as expected with the latest release on MacOS. This looks related to the newline issue being worked on at #606.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants