@barnardos/stylelint-config-barnardos

0.7.0 • Public • Published

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"]
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i @barnardos/stylelint-config-barnardos

Weekly Downloads

43

Version

0.7.0

License

MIT

Unpacked Size

19.4 kB

Total Files

13

Last publish

Collaborators

  • barnardos-admin