My configs for Stylelint. Uses rules from stylelint-order
.
Available configs:
stylelint-config-hudochenkov
— default config which includes rules from Stylelint core only.stylelint-config-hudochenkov/order
— config for order of content within declaration blocks and properties order. Usesstylelint-order
.stylelint-config-hudochenkov/full
— combines all configs above.
Install config:
npm install --save-dev stylelint-config-hudochenkov
Add chosen config to the extends
section of your Stylelint configuration:
{
"extends": ["stylelint-config-hudochenkov"]
}
{
"extends": ["stylelint-config-hudochenkov/full"]
}
Recommended to run Stylelint with --max-warnings
flag, because many rules has warning
severity:
stylelint "**/*.css" --max-warnings 0