SYZYGY
stylelintconfig for declaration order.
Stylelint declaration order config build upon stylelint-order plugin.
- Based on Idiomatioc CSS declaration order.
- Requires
contentproperty to go first (if set).
Make sure you have stylelint installed:
npm install --save-dev stylelintthen install the config:
npm install --save-dev stylelint-config-syzygy-orderSimply 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"
]
}