Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/acolorbright/stylelint-config-property-sort-order-acb

Stylelint config for property sort ordering according to SMACSS
https://github.com/acolorbright/stylelint-config-property-sort-order-acb

smacss stylelint stylelint-config

Last synced: about 1 month ago
JSON representation

Stylelint config for property sort ordering according to SMACSS

Awesome Lists containing this project

README

        

# stylelint-config-property-sort-order-acb

Stylelint config for Property Sort Ordering based on
[stylelint-config-property-sort-order-smacss](https://github.com/cahamilton/stylelint-config-property-sort-order-smacss/),
which uses the [SMACSS](http://smacss.com) methodology.

This config adds empty lines between the SMACSS property groups.

## Installation

```bash
npm install --save-dev 'acolorbright/stylelint-config-property-sort-order-acb#v1.0.0'
`````

## Usage

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

```js
{
"extends": "stylelint-config-property-sort-order-acb",
"rules": {
// Add additional rules here
}
}
```

For more information on configuring Stylelint, check out the [configuration](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/configuration.md) guide.

## Property Ordering

Refer to [here](https://github.com/cahamilton/css-property-sort-order-smacss/blob/master/index.js) for the comprehensive list of property orders.