This is a fork of the original. I updated it with logical properties (thanks to @JulienW) and other features/qol. I have big plans, but we'll see if I end up implementing them.
It should work, but I forgot to make a dev branch whoops
Order your styles based on idiomatic-css.
npm install --save-dev @jothsa/stylelint-config-idiomatic-order
Or use pnpm
pnpm add --D @jothsa/stylelint-config-idiomatic-order
Set your stylelint config to:
{
"extends": "@jothsa/stylelint-config-idiomatic-order"
}
You can easily extend the config to your needs.