Skip to content

stylelint-scss/stylelint-config-recommended-scss

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
May 5, 2023 17:23
May 17, 2023 07:39
May 5, 2023 17:23
September 3, 2023 17:18
July 16, 2017 16:26
May 17, 2023 07:33
September 3, 2023 17:21
September 3, 2023 17:21

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

Changelog

License