79380558

Date: 2025-01-23 10:02:19
Score: 1
Natty:
Report link

This particular case should't be a problem

this warning is fired when there is something like

.exampleClass {
  @include aaa;
  bbb: bbb;
}

which can be fixed by redefining it as

.exampleClass {
  bbb: bbb;
  @include aaa;
}

This is not very nice, since if you are forced to have @include declarations to be the last ones, then the styles they bring in can not be overwritten.

that's why you can also fix it by declaring it as

.exampleClass {
  @include aaa;

  & {
    bbb: bbb;
  }
}
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @include
  • Low reputation (0.5):
Posted by: tony