3.1.0 • Published 2 years ago

@acolorbright/stylelint-config-property-sort-order v3.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

stylelint-config-property-sort-order

Stylelint config for Property Sort Ordering based on stylelint-config-property-sort-order-smacss, which uses the SMACSS methodology.

This config adds empty lines between the SMACSS property groups.

Installation

npx install-peerdeps -D @acolorbright/stylelint-config-property-sort-order && npm install -DE @acolorbright/stylelint-config-property-sort-order@latest

Since install-peerdeps doesn't have a flag to pin the exact version of the installed peer dependencies it's advisable to pin the installed versions in package.json by hand.

Usage

To start using this configuration, simply extend this package in your Stylelint configuration.

{
  "extends": "@acolorbright/stylelint-config-property-sort-order",
  "rules": {
    // Add additional rules here
  }
}

For more information on configuring Stylelint, check out the configuration guide.

Property Ordering

Refer to here for the comprehensive list of property orders.

3.1.0

2 years ago

2.1.2

2 years ago

3.0.0

2 years ago

2.1.1

3 years ago

2.1.0

3 years ago

2.0.6

3 years ago

2.0.5

3 years ago

2.0.4

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago