Skip to content

hudochenkov/stylelint-config-hudochenkov

Repository files navigation

stylelint-config-hudochenkov

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. Uses stylelint-order.
  • stylelint-config-hudochenkov/full — combines all configs above.

Installation

Install config:

npm install --save-dev stylelint-config-hudochenkov

Usage

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