@approvers/stylelint-config-scss
The shareable SCSS config for stylelint.
Extends stylelint-config-standard
, enables stylelint-scss
.
Use it as is or as a foundation for your own config.
About the rules which is used this config, please see the config itself.
Installation
# stylelint and stylelint-scss are peer dependencies for this package.
npm install --save-dev stylelint stylelint-scss @approvers/stylelint-config-scss
Usage
All you need to do is to set your stylelint
config to:
{
"extends": ["@approvers/stylelint-config-scss"]
}
Extending the config
If you want to override and add rules to your config, simply add the "rules"
key there.
For example, turn at-rule-conditional-no-parentheses
rule off and turn dollar-variable-default
rule on:
{
"extends": ["@approvers/stylelint-config-scss"],
"rules": {
"at-rule-conditional-no-parentheses": null,
"dollar-variable-default": true
}
}
Changelog
License
MIT License.