Skip to content

miirinjej/stylelint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@miirinjej/stylelint-config

npm version

Sharable stylelint config for CSS/SCSS

Installation

npm install --save-dev @miirinjej/stylelint-config stylelint

Usage

Add this config to package.json:

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

See also: https://stylelint.io/user-guide/configure

Extending the config

You can extend the current configuration by overriding rules or an array of existing configurations:

{
  "extends": ["@miirinjej/stylelint-config", "./stylelint.config.js"],
  "rules": {
    "indentation": "tab"
  }
}

See also: https://stylelint.io/user-guide/configure#extends

Extensions

Rules

See config itself.

Rules are grouped and sorted by default as in the original lists: