This Stylelint configuration validates the ordering of CSS properties according to Concentric CSS
npm install stylelint-config-concentric-orderstylelint --fix and [stylefmt] to automatically sort your CSS properties.sh
npm install --save-dev stylelint-config-concentric-order
`Usage
Add this configuration to the end of your extends array inside .stylelintrc`javascript
{
"extends": [
// ...some other shareable Stylelint configuration
"stylelint-config-concentric-order"
], "rules": {
// ...your own custom rules and overrides
}
}
``[Concentric CSS]: http://rhodesmill.org/brandon/2011/concentric-css/
[stylelint]: https://stylelint.io/
[stylefmt]: https://github.com/morishitter/stylefmt/