Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.57 KB

README.md

File metadata and controls

49 lines (34 loc) · 1.57 KB

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