Skip to content

A stylelint configuration to validate (and fix) the ordering of CSS properties according to Concentric CSS rules.

Notifications You must be signed in to change notification settings

jdslv/stylelint-config-concentric-order

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A stylelint configuration to validate (and fix) the ordering of CSS properties according to Concentric CSS rules.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%