@opentech0/stylelint-config-opentech
v2.3.3
Published
```bash yarn add @opentech0/stylelint-config-opentech -D ```
Readme
Installation
yarn add @opentech0/stylelint-config-opentech -DUsage
.stylelintrc.json
{
"extends": "@opentech0/stylelint-config-opentech"
}package.json
{
"scripts": {
"stylelint": "./node_modules/.bin/stylelint '**/*.scss'",
"stylelint:fix": "./node_modules/.bin/stylelint '**/*.scss' --fix"
}
}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": "@opentech0/stylelint-config-opentech",
"rules": {
"scss/at-if-no-null": null
}
}"# stylelint-config-opentech"
