You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if this should open here or https://github.com/stylelint/stylelint, but I decided here because the problem only occurs with SCSS-specific syntax.
With the following configuration, a declaration followed by two consecutive double-slash comments is considered a violation by declaration-empty-line-before rule unexpectedly.
When we remove either one of these comments, the error disappears.
I don't know if it's related, with the following code, the stylelint-disable comment is completely ignored, and thus an error reported.
html {
// foo
// stylelint-disable-next-line
display: block;
}
My environment:
stylelint v13.7.1
stylelint-scss v3.18.0
Am I doing something wrong?
The text was updated successfully, but these errors were encountered:
chalkygames123
changed the title
False position in declaration-empty-line-before rule
False positive in declaration-empty-line-before rule
Sep 20, 2020
I'm not sure if this should open here or https://github.com/stylelint/stylelint, but I decided here because the problem only occurs with SCSS-specific syntax.
With the following configuration, a declaration followed by two consecutive double-slash comments is considered a violation by
declaration-empty-line-before
rule unexpectedly.Example SCSS code:
When we remove either one of these comments, the error disappears.
I don't know if it's related, with the following code, the stylelint-disable comment is completely ignored, and thus an error reported.
My environment:
Am I doing something wrong?
The text was updated successfully, but these errors were encountered: