Skip to content

acupofspirt/css-validator-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Simple webpack loader for CSS validation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published