@onrewind/stylelint-config

A shareable stylelint configuration for On Rewind projects

Usage no npm install needed!

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

README

NPM Version Package Size

@onrewind/stylelint-config

A shareable stylelint configuration for On Rewind projects.

Playground

Installation

If using npm, run:

$ npm install @onrewind/stylelint-config --save-dev

If using yarn, run:

$ yarn add @onrewind/stylelint-config --dev

Usage

Set your stylelint configuration to:

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

You can override rules from the shared configuration, by setting your own values within the rules property:

{
  "rules": {
    "string-quotes": "double"
  }
}