csscomb / csscomb.js

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

lines-between-rulesets move the comment of previous rule #577

Open robsonsobral opened 6 years ago

robsonsobral commented 6 years ago

The rule lines-between-rulesets moves the comment of previous rule.

before:

    border-radius: $line-height * 1em; // sass-lint:disable-line property-units

    &::before {
        vertical-align: text-bottom;

        content: '\25a0\a0';
    }

After:

    border-radius: $line-height * 1em;

    // sass-lint:disable-line property-units

    &::before {
        vertical-align: text-bottom;

        content: '\25a0\a0';
    }
jdalton commented 5 years ago

Possibly related to #561.