wearewondrous / wondrous-stylelint-config

Definitions for Stylelint.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Definitions for Stylelint.

License:MIT License


Languages

Language:JavaScript 100.0%