Stylelint plugin to validate CSS syntax
JavaScript
Latest commit 2e6057e Dec 21, 2016 @lahmatiy lahmatiy 1.0.4
Permalink
Failed to load latest commit information.
.gitignore initial implementation Sep 16, 2016
HISTORY.md 1.0.4 Dec 21, 2016
LICENSE initial implementation Sep 16, 2016
README.md add npm badge Sep 16, 2016
index.js bump csstree to 1.0.0-alpha8 (fixes #1) Nov 21, 2016
package.json 1.0.4 Dec 21, 2016

README.md

NPM version

csstree-validator

CSS syntax validator based on csstree as plugin for stylelint. Currently it's only checking declaration values to match W3C specs and browsers extensions.

Install

$ npm install --save-dev stylelint-csstree-validator

Usage

In your stylelint config add this.

{
  "plugins": [
    "stylelint-csstree-validator"
  ],
  "rules": {
    "csstree/validator": true
  }
}

License

MIT