stylelint-config-pretty
v1.3.1
Published
Modular Stylelint shareable configuration
Downloads
2
Readme
stylelint-config-pretty
Modular Stylelint shareable config.
Installation
$ npm install --save-dev stylelint stylelint-config-pretty
Usage
Once the stylelint-config-pretty
package is installed, you can use it by specifying the different configs in the extends
section of your Stylelint configuration.
{
'extends': ['pretty/scss', 'pretty/order'],
'rules': {
// Additional, per-project rules...
}
}
Config files
| Name | Description | Extends |
| --------------- | ----------------------------------------------------- | -------- |
| @pretty
| Base/generic configuration | |
| pretty/scss
| Rules specific to Scss files | pretty
|
| pretty/order
| Rules to order properties | pretty
|