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