Skip to content

tsharms/stylelint-rokit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Semantic rules for your CSS

Code should always be written in such a way that makes it look like a single person wrote it, no matter how many people have contributed and that is the purpose of this set of rules powered by stylelint.

Installation

You need to have stylelint and this config as part of your devDependencies.

npm i stylelint stylelint-rodesk -D

Usage

Load everything

To use all the rules all at once add stylelint-rodesk to your extends property in .stylelintrc.

{
  "extends": [
    "stylelint-rodesk"
  ]
}

Override specific rules

To override the rules set by stylelint-rodesk you need to define your own rules and set them as shown below.

{
  "extends": [
    "stylelint-rodesk"
  ],
  "rules": {
    "indentation": 2
  }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published