@wearewondrous/stylelint-config

Sharable stylelint config based on https://sass-guidelin.es/

Usage no npm install needed!

<script type="module">
  import wearewondrousStylelintConfig from 'https://cdn.skypack.dev/@wearewondrous/stylelint-config';
</script>

README

wondrous-stylelint-config

Sass Guidelines shareable config for stylelint.

A stylelint config based on sass-guidelin.es and stylelint-config-sass-guidelines.

Installation

$ npm install --save @wearewondrous/stylelint-config

Usage

Set your stylelint config to:

{
  "extends": "@wearewondrous/stylelint-config"
}

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

Creator

WONDROUS

License