stylelint-config-bod
This package includes the shareable StyleLint configuration used by Bod CLI.
Installation
npm install -D stylelint-config-bod
Usage
set .stylelintrc.json
to:
{
"extends": "stylelint-config-bod"
}
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:
{
"extends": "stylelint-config-bod",
"rules": {
"indentation": "tab",
"number-leading-zero": null
}
}
Features
- Based on
stylelint-config-standard
. - Idiomatic order.