1.0.0 • Published 5 years ago

@radicalwebdesign/stylelint-config-scss v1.0.0

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

stylelint-config-scss

A shareable stylelint config for SCSS used at Radical

Installation

yarn add @radicalwebdesign/stylelint-config-scss --dev

Usage

If you've installed @radicalwebdesign/stylelint-config-scss locally within your project, just set your stylelint config to:

{
  "extends": "@radicalwebdesign/stylelint-config-scss"
}

Extending the config

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

For example, to add the unit-whitelist rule:

{
  "extends": "@radicalwebdesign/stylelint-config-scss",
  "rules": {
    "unit-whitelist": ["em", "rem", "s"]
  }
}

License

Licensed under the MIT license.