stylelint-less
A collection of Less specific rules for stylelint
Last updated 3 years ago by sivanatarajan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install stylelint-less 
SYNC missed versions from official npm registry.

stylelint-less

A collection of Less specific rules for stylelint.

Installation

npm install stylelint-less --save-dev

Usage

Add the stylelint-less plugin to your configuration, and set the rules you want to use under the less namespace.

{
  "plugins": ["stylelint-less"],
  "rules": {
    "at-rule-no-unknown": null,
    "color-no-invalid-hex": true,
    "less/color-no-invalid-hex": true
  }
}

Please refer to the stylelint docs for additional information on how to create a configuration file or add rules.

Rules

Note

Please make sure there is

  • No space between variable and ':'
  • A space between ":" and value example @color: red;

so that these rules will work as expected. If the variable is not in the above format , you will get Invalid variable error.

Current Tags

  • 3.0.1                                ...           latest (a year ago)

12 Versions

  • 3.0.1                                ...           a year ago
  • 3.0.0                                ...           a year ago
  • 2.0.0                                ...           a year ago
  • 1.0.8                                ...           a year ago
  • 1.0.7                                ...           a year ago
  • 1.0.6                                ...           3 years ago
  • 1.0.5                                ...           3 years ago
  • 1.0.4                                ...           3 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Total 12
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (5)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE