6.0.0 • Published 26 days ago
@team23/stylelint-config-team23-standard v6.0.0
stylelint-config-team23-standard
CSS linting config for TEAM23 projects using stylelint-config-standard
.
Installation
Add the library to your package.json
as devDependency
npm i --save-dev @team23/stylelint-config-team23-standard
Usage in your project
To use the shareable config, set this configuration in your .stylelintrc.json
:
{
"extends": "@team23/stylelint-config-team23-standard"
}
instead.
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-standard",
"rules": {
"selector-max-id": 1
}
}