stylelint-config-cssrecipes

cssrecipes shareable config for stylelint

Usage no npm install needed!

<script type="module">
  import stylelintConfigCssrecipes from 'https://cdn.skypack.dev/stylelint-config-cssrecipes';
</script>

README

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

Changelog

License