epiphany/node_modules/stylelint-config-standard-scss/README.md
2023-12-09 22:48:07 -08:00

50 lines
1.7 KiB
Markdown

# stylelint-config-standard-scss
[![npm version](https://img.shields.io/npm/v/stylelint-config-standard-scss?logo=npm&logoColor=fff)](https://www.npmjs.com/package/stylelint-config-standard-scss)
[![Build Status](https://img.shields.io/github/actions/workflow/status/stylelint-scss/stylelint-config-standard-scss/test.yml?branch=main&label=tests&logo=github)](https://github.com/stylelint-scss/stylelint-config-standard-scss/actions/workflows/test.yml?query=workflow%3ATests)
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen)](https://egghead.io/courses/how-to-contribute-to-an-open-source-project-on-github)
[![Downloads per month](https://img.shields.io/npm/dm/stylelint-config-standard-scss)](https://npmcharts.com/compare/stylelint-config-standard-scss)
> The standard shareable SCSS config for Stylelint.
This config:
- extends the [`stylelint-config-standard` shared config](https://github.com/stylelint/stylelint-config-standard) and configures its rules for SCSS
- extends the [`stylelint-config-recommended-scss` shared config](https://github.com/stylelint-scss/stylelint-config-recommended-scss)
To see the rules that this config uses, please read the [config itself](/index.js).
## Installation
```shell
npm install --save-dev stylelint-config-standard-scss
```
## Usage
Set your `stylelint` config to:
```json
{
"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:
```json
{
"extends": "stylelint-config-standard-scss",
"rules": {
"scss/dollar-variable-pattern": null
}
}
```
## [Changelog](CHANGELOG.md)
## [License](LICENSE)