@touch4it/stylelint-config-guidelines
Version:
Stylelint configuration inspired by SMACSS
51 lines (34 loc) • 1.55 kB
Markdown
# stylelint-config-guidelines
[](https://github.com/touch4it/ical-timezones/blob/master/lib/LICENSE.md)
[](https://www.npmjs.com/package/@touch4it/stylelint-config-guidelines)
[](https://www.npmjs.com/package/@touch4it/stylelint-config-guidelines)
[](https://www.npmjs.com/package/@touch4it/stylelint-config-guidelines)
[](https://github.com/touch4it/stylelint-config-guidelines)
Stylelint configuration inspired by SMACSS
## Installation
```console
$ npm install --save @touch4it/stylelint-config-guidelines
```
## Usage
Set your stylelint config to:
```json
{
"extends": "@touch4it/stylelint-config-guidelines"
}
```
### Extending the config
Simply add a `"rules"` key to your config and add your overrides there.
For example, to change the `indentation` to tabs and turn off the `number-leading-zero` rule:
```json
{
"extends": "@touch4it/stylelint-config-guidelines",
"rules": {
"indentation": "tab",
"number-leading-zero": null
}
}
```
## License
[MIT](LICENSE)
## Authors
- [Touch4IT, s.r.o. contributors](https://github.com/touch4it/stylelint-config-guidelines/graphs/contributors)