@team23/stylelint-config-team23-scss
Version:
A set of stylelint rules used by TEAM23 for standard scss projects
38 lines (26 loc) • 760 B
Markdown
# stylelint-config-team23-scss
CSS and SCSS linting config for TEAM23 projects.
## Installation
Add the library to your `package.json` as `devDependency`
```bash
npm i --save-dev @team23/stylelint-config-team23-scss
```
### Usage in your project
To use the shareable config, set this configuration in your `.stylelintrc.json`:
```json
{
"extends": "@team23/stylelint-config-team23-scss"
}
```
#### Override rules
Simply add a `"rules"` key to your config, then add your overrides and additions there.
For example, to change the `selector-max-id` rule to allow one id selector in rules
(default is: no id selectors allowed):
```json
{
"extends": "@team23/stylelint-config-team23-scss",
"rules": {
"selector-max-id": 1
}
}
```