@radicalwebdesign/stylelint-config-scss
v1.0.0
Published
A shareable stylelint config for SCSS used at Radical
Downloads
14
Maintainers
Readme
stylelint-config-scss
A shareable stylelint config for SCSS used at Radical
Installation
yarn add @radicalwebdesign/stylelint-config-scss --dev
Usage
If you've installed @radicalwebdesign/stylelint-config-scss
locally within your project, just set your stylelint
config to:
{
"extends": "@radicalwebdesign/stylelint-config-scss"
}
Extending the config
Simply add a "rules"
key to your config, then add your overrides and additions there.
For example, to add the unit-whitelist
rule:
{
"extends": "@radicalwebdesign/stylelint-config-scss",
"rules": {
"unit-whitelist": ["em", "rem", "s"]
}
}
License
Licensed under the MIT license.