stylefmt
stylefmt copied to clipboard
block-opening-brace-space-before with custom at-rule fails
I'm using a custom at-rule with postcss, stylefmt, stylelint, and stylelint-config-standard. No matter what I do, stylefmt keeps making:
@raw {
//^
}
into:
@raw {
//^^
}
And then stylelint fails. Is this a bug or am I using it wrong?
I was googling for the same issue, and I think it would be useful to post here. I am reproducing the same issue.
Using custom @-rule with postcss, stylefmt, stylelint, and stylelint-config-standard. The following block represents the original SCSS source.
@include breakpoint(tablet) {
@include size(16px);
}
The space before the brace ("{") gets removed at the stylefmt output, as follows:
@include breakpoint(tablet){
@include size(16px);
}
Is there anyone else facing the same issue, or already had a solution with this?
I'm facing same issue @fulls1z3
@fulls1z3
I've got the same problem 😭
seeing the same issue with @page
, which is not a custom at-rule.