how do you override the declaration order with stylelint-config-idiomatic-order?
catalin560 opened this issue · comments
catalin560 commented
so I got a .stylelintrc.json
that looks like:
{
"extends": "stylelint-config-sass-guidelines",
"rules": {
"indentation": 4
}
}
but I'd like to use the stylelint-config-idiomatic-order
instead of the alphabetical one that seems to come with this plugin.
https://github.com/ream88/stylelint-config-idiomatic-order
Brett Jankord commented
Try the following stylelint config setup:
module.exports = {
extends: ['stylelint-config-sass-guidelines', 'stylelint-config-idiomatic-order'],
rules: {
"order/properties-alphabetical-order": null,
},
};
This should disable the alphabetical sort order rule and use the property order rule from stylelint-config-idiomatic-order