stylelint-config-concentric-order

v5.2.0
This Stylelint configuration validates the ordering of CSS properties according to Concentric CSS
stylelint stylelint-config concentric order sort

stylelint-config-concentric-order

This stylelint configuration validates the order of CSS properties according to Concentric CSS. It's highly recommended that you use this in addition to your own rules (or rules from a shareable configuration), since it is only concerned with ordering. The configuration works with both stylelint --fix and stylefmt to automatically sort your CSS properties.

Installation

npm install --save-dev stylelint-config-concentric-order

Usage

Add this configuration to the end of your extends array inside .stylelintrc

{
  "extends": [
    // ...some other shareable Stylelint configuration
    "stylelint-config-concentric-order"
  ],

  "rules": {
    // ...your own custom rules and overrides
  }
}
npm i stylelint-config-concentric-order

Metadata

  • ISC
  • Whatever
  • Alvin Chan
  • released 8/13/2023

Downloads

Maintainers