Stylelint config for Property Sort Ordering based on the SMACSS methodology.
npm install --save-dev stylelint-config-property-sort-order-smacss
To start using this configuration, simply extend this package in your Stylelint configuration.
{
"extends": "stylelint-config-property-sort-order-smacss",
"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.