stylelint-config-cssrecipes
v2.0.1
Published
cssrecipes shareable config for stylelint
Downloads
8
Readme
stylelint-config-cssrecipes
cssrecipes shareable config for stylelint
Installation
$ npm install stylelint-config-cssrecipes
Usage
Set your stylelint config to:
{
"extends": "stylelint-config-cssrecipes"
}
Extending the config
Simply add a "rules"
key to your config and add your overrides there.
For example, to change the indentation
to tabs and turn off the number-leading-zero
rule:
{
"extends": "stylelint-config-cssrecipes",
"rules": {
"indentation": "tab",
"number-leading-zero": null
}
}
Contributing
Work on a branch, install dev-dependencies, respect coding style & run tests before submitting a bug fix or a feature.
$ git clone https://github.com/stylelint/stylelint-config-cssrecipes.git
$ git checkout -b patch-1
$ npm install
$ npm test