stylelint-config-recommended-scss (13.1.0)
Published 2026-02-24 14:05:49 +00:00 by atheaadmin
Installation
registry=npm install stylelint-config-recommended-scss@13.1.0"stylelint-config-recommended-scss": "13.1.0"About this package
stylelint-config-recommended-scss
The recommended shareable SCSS config for Stylelint.
This config:
- extends the
stylelint-config-recommendedshared config and configures its rules for SCSS - bundles the
stylelint-scssplugin pack and turns on its rules that check for possible errors - bundles the
postcss-scsscustom syntax and configures it
This config is extended by the stylelint-config-standard-scss shared config. That config is better suited to most users as it also turns on the stylistic rules in the stylelint-scss plugin pack.
To see the rules that this config uses, please read the config itself.
Installation
npm install --save-dev stylelint-config-recommended-scss
Usage
Set your stylelint config to:
{
"extends": "stylelint-config-recommended-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/at-if-no-null rule:
{
"extends": "stylelint-config-recommended-scss",
"rules": {
"scss/at-if-no-null": null
}
}
Changelog
License
Dependencies
Dependencies
| ID | Version |
|---|---|
| postcss-scss | ^4.0.9 |
| stylelint-config-recommended | ^13.0.0 |
| stylelint-scss | ^5.3.0 |
Development Dependencies
| ID | Version |
|---|---|
| @stylelint/prettier-config | ^3.0.0 |
| @stylelint/remark-preset | ^5.0.0 |
| eslint | ^8.52.0 |
| eslint-config-stylelint | ^20.0.0 |
| eslint-plugin-jest | ^27.6.0 |
| jest | ^29.7.0 |
| np | ^8.0.4 |
| npm-run-all2 | ^5.0.2 |
| prettier | ^3.0.3 |
| remark-cli | ^12.0.0 |
| stylelint | ^15.11.0 |
Peer Dependencies
| ID | Version |
|---|---|
| postcss | ^8.3.3 |
| stylelint | ^15.10.0 |
Keywords
stylelint
stylelint-config
recommended
scss