6.1.0 • Published 1 month ago
@team23/stylelint-config-team23-scss v6.1.0
stylelint-config-team23-scss
CSS and SCSS linting config for TEAM23 projects.
Installation
Add the library to your package.json
as devDependency
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
:
{
"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):
{
"extends": "@team23/stylelint-config-team23-scss",
"rules": {
"selector-max-id": 1
}
}