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

Extra semicolon after sorting properties #622

Open
BartolomeSintes opened this issue Oct 16, 2019 · 1 comment
Open

Extra semicolon after sorting properties #622

BartolomeSintes opened this issue Oct 16, 2019 · 1 comment

Comments

@BartolomeSintes
Copy link

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
Copy link

Still happens.

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

2 participants