Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 1.52 KB

README.md

File metadata and controls

50 lines (34 loc) · 1.52 KB

stylelint-config-guidelines

GitHub license npm version node version vulnerabilities last commit

Stylelint configuration inspired by SMACSS

Installation

$ npm install --save @touch4it/stylelint-config-guidelines

Usage

Set your stylelint config to:

{
  "extends": "@touch4it/stylelint-config-guidelines"
}

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": "@touch4it/stylelint-config-guidelines",
  "rules": {
    "indentation": "tab",
    "number-leading-zero": null
  }
}

License

MIT

Authors