Skip to content

touch4it/stylelint-config-guidelines

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published