htmllint-async-loader
v5.0.3
Published
simple htmlint loader
Downloads
787
Maintainers
Readme
htmllint-async-loader
Yet another htmllint loader. Tested with webpack@3.
- Like robbiedigital/htmllint-loader but without deasync usage.
- Like GideonPARANOID/htmllint-loader but with better output formatting.
yarn -D htmllint-async-loader
module.exports = {
module: {
rules: [{
test: /\.(html|ejs)$/),
enforce: 'pre',
loader: 'htmllint-async-loader',
options: {
config: '.htmllintrc',
failOnProblem: false
}
}]
}
}