Skip to content

stylelint-scss/stylelint-config-standard-scss

Repository files navigation

stylelint-config-standard-scss

npm version Build Status contributions welcome Downloads per month

The standard shareable SCSS config for Stylelint.

This 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
  }
}