npm.io
0.1.7 • Published 8 years ago

stylelint-config-heisenberg

Licence
GPL-3.0
Version
0.1.7
Deps
3
Size
8 kB
Vulns
0
Weekly
0
Stars
4

stylelint-config-heisenberg

Heisenberg shareable config for stylelint.

Installation

$ npm install stylelint-config-heisenberg --save-dev

Usage

If you've installed stylelint-config-heisenberg locally within your project, just set your stylelint config to:

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

Extending the config

Simply add a "rules" key to your config and add your overrides there.

For example, to change the indentation to four spaces and turn off the number-leading-zero rule:

{
  "extends": "stylelint-config-heisenberg",
  "rules": {
    "indentation": 4,
    "number-leading-zero": null
  }
}