stylelint-config-syzygy-order
v2.2.6
Published
SYZYGY stylelint config for declaration order
Downloads
295
Maintainers
Readme
stylelint-config-syzygy-order
SYZYGY
stylelint
config for declaration order.
Stylelint declaration order config build upon stylelint-order
plugin.
Rules
- Based on Idiomatioc CSS declaration order.
- Requires
content
property to go first (if set).
Installation
Make sure you have stylelint
installed:
npm install --save-dev stylelint
then install the config:
npm install --save-dev stylelint-config-syzygy-order
Usage
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"
]
}