@barnardos/stylelint-config-barnardos

Shared stylelint config for Barnardos

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
20Apr 16, 2019Jul 6, 2018Minified + gzip package size for @barnardos/stylelint-config-barnardos in KB

Readme

stylelint-config-barnardos

Shareable stylelint configuration file for Barnardo's.

Installation

npm install @barnardos/stylelint-config-barnardos --save-dev

Usage

Set your stylelint config to:

{
  "extends": "@barnardos/stylelint-config-barnardos"
}

Extending the config

Add a "rules" key to your config, then add your overrides and additions there.

For example, to turn off the block-no-empty rule and use your unit-whitelist rule:

{
  "extends": "@barnardos/stylelint-config-barnardos",
  "rules": {
    "block-no-empty": null,
    "unit-whitelist": ["em", "rem", "s"]
  }
}

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.