cssrecipes shareable config for stylelint
$ npm install stylelint-config-cssrecipes
Set your stylelint config to:
{
"extends": "stylelint-config-cssrecipes"
}
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
}
}
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