Skip to content

suitcss/stylelint-config-suitcss

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

stylelint-config-suitcss

NPM version Build Status

SUIT CSS shareable config for stylelint.

Configuration rules to ensure your CSS code is compliant with SUIT CSS's code style.

Installation

$ npm install stylelint-config-suitcss

Usage

Set your stylelint config to:

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

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
  }
}

Changelog

License