bjankord / stylelint-config-recommended-scss

The recommended shareable SCSS config for Stylelint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stylelint-config-recommended-scss

npm version Build Status contributions welcome Downloads per month

The recommended shareable SCSS config for stylelint.

This config:

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

About

The recommended shareable SCSS config for Stylelint

License:MIT License


Languages

Language:SCSS 53.0%Language:JavaScript 47.0%