1.0.0 • Published 4 years ago
@regrapes/stylelint-config-scss v1.0.0
@regrapes/stylelint-config-scss
REGRAPES SCSS-Stylelint config
Installation
npm install @regrapes/stylelint-config-scss --save-devUsage
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"
}
]
}
}1.0.0
4 years ago