csscomb / csscomb.js

CSS coding style formatter
http://csscomb.com/
MIT License
3.29k stars 457 forks source link

Extra semicolon after sorting properties #622

Open BartolomeSintes opened 4 years ago

BartolomeSintes commented 4 years ago

CSSComb configuration in Visual Studio Code:

"csscomb.preset": {
    "always-semicolon": true,
    "sort-order": [ "text-align", "text-transform" ]
}

Initial CSS code (notice missing semicolon after second property):

h1 {
    text-transform: uppercase;
    text-align: center
}

Obtained result (there are two semicolons after first property):

h1 {
    text-align: center;;
    text-transform: uppercase;
}

Expected result (one semicolon after both properties)

h1 {
    text-align: center;
    text-transform: uppercase;
}

Is it a known CSSComb bug? Thanking you in advance,

agomcue486 commented 3 years ago

Still happens.