taks-stylelint-order
v1.1.3
Published
Stylelint order config with comprehensive CSS properties ordering.
Downloads
179
Maintainers
Readme
taks-stylelint-order
Comprehensive CSS properties ordering configuration for stylelint-order.
Installation
npm install --save-dev taks-stylelint-order stylelint stylelint-orderUsage
Add this config to your stylelint configuration:
{
"plugins": ["stylelint-order"],
"extends": ["taks-stylelint-order"]
}Properties Order
The properties are ordered in the following categories:
- Cascading and Inheritance
- Generated Content
- Positioned Layout
- Anchor Positioning
- Containment Module
- Display
- Grid Layout
- Flexible Box
- Item Flow Controls
- Box Alignment Module ... (and more)
For the complete order, please check the index.js file.
Requirements
- Node.js 14+
- stylelint 14+
- stylelint-order 6+
License
MIT © TAK
