Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 1.19 KB

README.md

File metadata and controls

55 lines (38 loc) · 1.19 KB

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