JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 52851
  • Score
    100M100P100Q161751F
  • License MIT

Stylelint plugin to validate CSS syntax

Package Exports

  • stylelint-csstree-validator

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (stylelint-csstree-validator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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