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

Migration from Version 3 to 4

Important: When migrating from version 3 to version 4, please note that Stylelint v15+ no longer includes formatting rules. If you need code formatting, you'll need to use Prettier alongside Stylelint.

License

MIT

Authors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •