Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 1.38 KB

README.md

File metadata and controls

55 lines (40 loc) · 1.38 KB

stylelint-config-syzygy-order

SYZYGY stylelint config for declaration order.

Stylelint declaration order config build upon stylelint-order plugin.

Rules

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"
  ]
}