SYZYGY
stylelint
config for declaration order.
Stylelint declaration order config build upon stylelint-order
plugin.
- Based on Idiomatioc CSS declaration order.
- Requires
content
property to go first (if set).
Make sure you have stylelint
installed:
npm install --save-dev stylelint
then install the config:
npm install --save-dev stylelint-config-syzygy-order
Simply set your stylelint
config to extend stylelint-config-syzygy-order
:
{
"extends": "stylelint-config-syzygy-order"
}
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"
]
}