stylelint-csstree-validator

A stylelint plugin based on csstree to examinate CSS syntax. It examinates at-rules and declaration values to match W3C specs and browsers extensions. It might be extended in future to validate other parts of CSS.

Installation

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

Configuration

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