Skip to content

hudochenkov/stylelint-config-hudochenkov

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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