@barnardos/stylelint-config-barnardos
v0.7.0
Published
Shared stylelint config for Barnardos
Downloads
260
Readme
stylelint-config-barnardos
Shareable stylelint configuration file for Barnardo's.
Installation
npm install @barnardos/stylelint-config-barnardos --save-dev
Usage
Set your stylelint
config to:
{
"extends": "@barnardos/stylelint-config-barnardos"
}
Extending the config
Add a "rules"
key to your config, then add your overrides and additions there.
For example, to turn off the block-no-empty
rule and use your unit-whitelist
rule:
{
"extends": "@barnardos/stylelint-config-barnardos",
"rules": {
"block-no-empty": null,
"unit-whitelist": ["em", "rem", "s"]
}
}