A shareable stylelint config for SCSS used at Radical
yarn add @radicalwebdesign/stylelint-config-scss --devIf you've installed @radicalwebdesign/stylelint-config-scss locally within your project, just set your stylelint config to:
{
"extends": "@radicalwebdesign/stylelint-config-scss"
}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"]
}
}Licensed under the MIT license.