htmllint-async-loader

simple htmlint loader

Usage no npm install needed!

<script type="module">
  import htmllintAsyncLoader from 'https://cdn.skypack.dev/htmllint-async-loader';
</script>

README

htmllint-async-loader

Yet another htmllint loader. Tested with webpack@3.

yarn -D htmllint-async-loader
module.exports = {
  module: {
    rules: [{
      test: /\.(html|ejs)$/),
      enforce: 'pre',
      loader: 'htmllint-async-loader',
      options: {
        config: '.htmllintrc',
        failOnProblem: false
      }
    }]
  }
}

image