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

"vendor-prefix-align: true" breaks indent for grid properties #628

Open
sgaponenko opened this issue Jan 20, 2020 · 0 comments
Open

"vendor-prefix-align: true" breaks indent for grid properties #628

sgaponenko opened this issue Jan 20, 2020 · 0 comments

Comments

@sgaponenko
Copy link

Actual behavior
after i save the .less file, csscomb sets the wrong indent

 .class {

        grid-column: 2; // <-- has one more indent

        grid-row: 1; // <-- has one more indent

    -ms-grid-column: 2;

    -ms-grid-row: 1;
}

Expected behavior

.class {

     grid-column: 2; 

     grid-row: 1; 

     -ms-grid-column: 2;

     -ms-grid-row: 1;

}

Config .csscomb.json

{

    "exclude": [

        ".git/**",

        "node_modules/**",

        "bower_components/**"

    ],

    "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": "\n",

    "space-after-selector-delimiter": "\n",

    "space-before-closing-brace": "\n",

    "space-before-colon": "",

    "space-before-combinator": " ",

    "space-before-opening-brace": " ",

    "space-before-selector-delimiter": "",

    "space-between-declarations": "\n",

    "strip-spaces": true,

    "unitless-zero": true,

    "vendor-prefix-align": true,

    "sort-order": [...] 

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

No branches or pull requests

1 participant