.. | ||
index.js | ||
LICENSE | ||
package.json | ||
README.md |
stylelint-config-standard-scss
The standard shareable SCSS config for Stylelint.
This config:
- extends the
stylelint-config-standard
shared config and configures its rules for SCSS - extends the
stylelint-config-recommended-scss
shared config
To see the rules that this config uses, please read the config itself.
Installation
npm install --save-dev stylelint-config-standard-scss
Usage
Set your stylelint
config to:
{
"extends": "stylelint-config-standard-scss"
}
Extending the config
Simply add a "rules"
key to your config, then add your overrides and additions there.
For example, to turn off the scss/dollar-variable-pattern
rule:
{
"extends": "stylelint-config-standard-scss",
"rules": {
"scss/dollar-variable-pattern": null
}
}