3.0.0 • Published 2 years ago

@touch4it/stylelint-config-guidelines v3.0.0

Weekly downloads
37
License
MIT
Repository
github
Last release
2 years ago

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