2.2.6 • Published 1 year ago
stylelint-config-syzygy-order v2.2.6
stylelint-config-syzygy-order
SYZYGY
stylelintconfig for declaration order.
Stylelint declaration order config build upon stylelint-order plugin.
Rules
- Based on Idiomatioc CSS declaration order.
- Requires
contentproperty to go first (if set).
Installation
Make sure you have stylelint installed:
npm install --save-dev stylelintthen install the config:
npm install --save-dev stylelint-config-syzygy-orderUsage
Simply set your stylelint config to extend stylelint-config-syzygy-order:
{
"extends": "stylelint-config-syzygy-order"
}Usage with other configs
This config contains only rules for declaration order.
It rather should not be used standalone. You can extend multiple configs.
We recommend to use stylelint-config-syzygy-order together with
stylelint-config-syzygy-scss
or any other config
that fits your needs.
Example usage with stylelint-config-syzygy-scss:
{
"extends": [
"stylelint-config-syzygy-scss",
"stylelint-config-syzygy-order"
]
}