Package Exports
- stylelint-config-recess-order
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (stylelint-config-recess-order) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Recess* Property Order 
A Stylelint config that sorts CSS properties the way Recess did and Bootstrap did/does.
*With some modifications & additions for modern properties.
Usage
- Add stylelint, stylelint-order, and this package to your project:
npm install --save-dev stylelint stylelint-order stylelint-config-recess-order
- Configure your Stylelint configuration file to extend this package:
module.exports = { extends: ['stylelint-config-recess-order'], rules: { // Add overrides and additional rules here }, }
Advanced
The default setup applies only the 'order/properties-order'
rule with the
various property groups. If you need to configure other options for this rule,
the groups can be imported separately and the rule configured to your needs.
const propertyGroups = require('stylelint-config-recess-order/groups')
module.exports = {
extends: [], // Do not extend the config here.
rules: {
// Configure the rule manually.
'order/properties-order': propertyGroups.map((group) => ({
...group,
emptyLineBefore: 'always',
noEmptyLineBetween: true,
})),
},
}