Skip to content

savvy-css/stylelint-config-savvy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stylelint Config Savvy

Stylelint Configuration for Savvy CSS

Installation

With yarn:

yarn add --dev @savvy-css/stylelint-config-savvy

With npm:

npm install --save-dev @savvy-css/stylelint-config-savvy

Usage

Simply extend this configuration your own Stylelint configuration:

{
  "extends": "stylelint-config-savvy"
}

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