Stylelint configuration inspired by SMACSS
$ npm install --save @touch4it/stylelint-config-guidelines
Set your stylelint config to:
{
"extends": "@touch4it/stylelint-config-guidelines"
}
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": "@touch4it/stylelint-config-guidelines",
"rules": {
"indentation": "tab",
"number-leading-zero": null
}
}