SuitCSS shareable config for stylelint.
My CSS style guide is very similar to the SuitCSS's code style with one change in that I find that CSS rules should be grouped logically instead of alphabetically.
$ npm install stylelint-config-rtablada
Set your stylelint config to:
{
"extends": "stylelint-config-rtablada"
}
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-rtablada",
"rules": {
"indentation": [2, "tab"],
"number-leading-zero": 0
}
}