Skip to content

cssrecipes/stylelint-config-cssrecipes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stylelint-config-cssrecipes

npm Travis Build Status

cssrecipes shareable config for stylelint

Installation

$ npm install stylelint-config-cssrecipes

Usage

Set your stylelint config to:

{
  "extends": "stylelint-config-cssrecipes"
}

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-cssrecipes",
  "rules": {
    "indentation": "tab",
    "number-leading-zero": null
  }
}

Contributing

Work on a branch, install dev-dependencies, respect coding style & run tests before submitting a bug fix or a feature.

$ git clone https://github.com/stylelint/stylelint-config-cssrecipes.git
$ git checkout -b patch-1
$ npm install
$ npm test