wagtail / stylelint-config-wagtail

Shareable stylelint config for CSS and SCSS, following Wagtail’s code style.
https://www.npmjs.com/package/@wagtail/stylelint-config-wagtail
MIT License
11 stars 4 forks source link

Enforce declarations order with stylelint #14

Closed thibaudcolas closed 2 years ago

thibaudcolas commented 2 years ago

Initially mentioned in https://github.com/wagtail/wagtail/issues/5246#issuecomment-485861248, and discussed again in a UI team meeting.

We want to use stylelint-order for this, we want to enforce mixins are first in declarations, and I think that’s about it.

PaarthAgarwal commented 2 years ago

May I go ahead with this issue?

lb- commented 2 years ago

Sure. As per the comments above - goal is just to enforce mixins first.