@dg-scripts/stylelint-config
v6.0.0
Published
StyleLint configuration used by dg-scripts.
Maintainers
Readme
@dg-scripts/stylelint-config
This package includes the shareable StyleLint configuration used by Bod CLI.
Installation
npm install -D @dg-scripts/stylelint-configUsage
Set .stylelintrc.json to:
{
"extends": "@dg-scripts/stylelint-config"
}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": "@dg-scripts/stylelint-config",
"rules": {
"indentation": "tab",
"number-leading-zero": null
}
}Features
- CSS Standard with stylelint-config-standard.
- CSS Property Order with stylelint-config-recess-order.
- HTML/Vue Support with stylelint-config-html.
- SCSS Support with stylelint-config-standard-scss.
- Markdown Support with postcss-markdown.
- Tailwind CSS Support (ignores Tailwind at-rules).
- Prettier Integration with stylelint-prettier.
