@bitfactory/stylelint-config
Version:
Stylelint sharable config for Bitfactory NL (part of NOBEARS) projects
32 lines (30 loc) • 837 B
JavaScript
// Property and rule ordering configuration
// Uses stylelint-order plugin for consistent CSS property order
export default {
plugins: ['stylelint-order'],
rules: {
'order/order': [
[
'custom-properties',
'dollar-variables',
{
name: 'extend',
type: 'at-rule',
},
{
hasBlock: false,
name: 'include',
type: 'at-rule',
},
'declarations',
{
hasBlock: true,
name: 'include',
type: 'at-rule',
},
'rules',
],
],
'order/properties-alphabetical-order': true,
},
};