stylelint-semantic-groups
stylelint-semantic-groups copied to clipboard
SCSS at-rules are reodered after declarations
SCSS @mixin, @include and @function at-rules shouldn't be grouped with other at-rules as some of them are order-dependent (@function/@mixin) and may lead to properties being overwritten (@include), so I suggest putting them between variables and declarations, like it was done in stylelint-config-clean-order for example.
scss.ts seems doesn't affect order of these as at-rules are matched by order/order rather order/properties-order.
The original idea was actually "not to handle" them at all, leaving them in space (via unspecified), but something went off.
Explicitly supporting these constructs sounds like a good idea.