stylelint-config-rational-order-fix
Version:
Stylelint config that sorts related property declarations by grouping together following the order: Positioning, Box Model, Typography, Visual, Animation, Other.
36 lines (35 loc) • 761 B
JavaScript
module.exports = [
'border',
'border-color',
'border-style',
'border-width',
'border-top',
'border-top-color',
'border-top-width',
'border-top-style',
'border-right',
'border-right-color',
'border-right-width',
'border-right-style',
'border-bottom',
'border-bottom-color',
'border-bottom-width',
'border-bottom-style',
'border-left',
'border-left-color',
'border-left-width',
'border-left-style',
'border-radius',
'border-top-left-radius',
'border-top-right-radius',
'border-bottom-right-radius',
'border-bottom-left-radius',
'border-image',
'border-image-source',
'border-image-slice',
'border-image-width',
'border-image-outset',
'border-image-repeat',
'border-collapse',
'border-spacing',
];