css-validator-loader

1.1.3 • Public • Published

css-validator-loader

Simple webpack loader for CSS validation. Based on csstree-validator.

Install

npm i -D css-validator-loader

Usage

Use it in pair with any css/scss/postcss loader.

module: {
  rules: [
    {
      test: /\.css?$/,
      loader: 'css-loader!css-validator-loader'
    }
  ]
}

About

This loader will help you detect syntax errors and typos in your stylesheets by friendly warnings in console.

Here is described the grammar by which the validation is performed.

Compatible with Webpack 2-4.

License

This software is released under the terms of the MIT license.

/css-validator-loader/

    Package Sidebar

    Install

    npm i css-validator-loader

    Weekly Downloads

    1

    Version

    1.1.3

    License

    MIT

    Unpacked Size

    4.57 kB

    Total Files

    4

    Last publish

    Collaborators

    • acupofspirt