@antipodes-medical/stylelint-config-antipodes
v2.3.3
Published
```bash yarn add @antipodes-medical/stylelint-config-antipodes -D ```
Downloads
283
Readme
Installation
yarn add @antipodes-medical/stylelint-config-antipodes -D
Usage
.stylelintrc.json
{
"extends": "@antipodes-medical/stylelint-config-antipodes"
}
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": "@antipodes-medical/stylelint-config-antipodes",
"rules": {
"scss/at-if-no-null": null
}
}