Stylelint config for Property Sort Ordering based on stylelint-config-property-sort-order-smacss, which uses the SMACSS methodology.
This config adds empty lines between the SMACSS property groups.
npm install --save-dev 'acolorbright/stylelint-config-property-sort-order-acb#v1.0.0'
To start using this configuration, simply extend this package in your Stylelint configuration.
{
"extends": "stylelint-config-property-sort-order-acb",
"rules": {
// Add additional rules here
}
}
For more information on configuring Stylelint, check out the configuration guide.
Refer to here for the comprehensive list of property orders.