@regrapes/stylelint-config-scss
v1.0.0
Published
REGRAPES SCSS-Stylelint config
Downloads
1
Readme
@regrapes/stylelint-config-scss
REGRAPES SCSS-Stylelint config
Installation
npm install @regrapes/stylelint-config-scss --save-dev
Usage
Set your stylelint config to:
{
"extends": "@regrapes/stylelint-config-scss"
}
Extending the config
Add a "rules"
key to your config, then add your overrides and additions there.
You can turn off rules by setting its value to null
. For example:
{
"extends": "@regrapes/stylelint-config-scss",
"rules": {
"selector-class-pattern": null
}
}
Or lower the severity of a rule to a warning using the severity
secondary option. For example:
{
"extends": "@regrapes/stylelint-config-scss",
"rules": {
"property-no-vendor-prefix": [
true,
{
"severity": "warning"
}
]
}
}