Skip to content
This repository was archived by the owner on Apr 8, 2023. It is now read-only.
This repository was archived by the owner on Apr 8, 2023. It is now read-only.

csscomb.useLatestCore, when true, does not do any formatting #64

@m-metz

Description

@m-metz

I don't know where to check any errors on these extensions/node modules, but I would really like to use v4.0.0-alpha so that I can use the "csscomb.preset": { "lines-between-rulesets": 1 } configuration. v3.1.8 does not have this setting. Maybe you can give some guidance.

VS Code: 1.9.1
OS: Windows 10

Whenever I enable it and fully restart VS Code (close all Code.exe processes), no formatting happens. When I set it back to false, the formatting (except lines-between-rulesets) work.

Here is the config (the only thing I have been changing is csscomb.useLatestCore)

{
"csscomb.useLatestCore": true,

// Use http://csscomb.com/config to generate a config
// Reference for rules https://github.com/csscomb/csscomb.js/blob/dev/doc/options.md
"csscomb.preset": {
    "always-semicolon": true,
    "color-case": "lower",
    "block-indent": "    ",
    "element-case": "lower",
    "eof-newline": false,
    "lines-between-rulesets": 1,
    "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-before-selector-delimiter": "",
    "space-before-closing-brace": "\n",
    "strip-spaces": null,
    "tab-size": true,
    "unitless-zero": true,
    "vendor-prefix-align": true
}
}

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions