Skip to content

stylelint-less/stylelint-config-standard-less

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stylelint-config-standard-less

publish MIT License npm npm dependents npm downloads

The standard shareable LESS config for Stylelint.

This config:

To see the rules that this config uses, please read the config itself.

Installation

npm install --save-dev stylelint-config-standard-less

Usage

Set your stylelint config to:

{
  "extends": "stylelint-config-standard-less"
}

Extending the config

Simply add a "rules" key to your config, then add your overrides and additions there.

For example, to turn off the less/color-no-invalid-hex rule:

{
  "extends": "stylelint-config-standard-less",
  "rules": {
    "less/color-no-invalid-hex": null
  }
}