The rule at-rule-empty-line-before enforces a line break before anything with an @, which in SCSS can be quite a few things e.g. @function. We have this configured to still allow comments before, but it only recognises comments of the format /* comment */ and not // comment. I suspect because these aren't really allowed in vanilla CSS.
The rule
at-rule-empty-line-beforeenforces a line break before anything with an @, which in SCSS can be quite a few things e.g.@function. We have this configured to still allow comments before, but it only recognises comments of the format/* comment */and not// comment. I suspect because these aren't really allowed in vanilla CSS.