grunt-html-validate
v3.0.0
Published
Grunt task for html-validate
Downloads
638
Maintainers
Readme
grunt-html-validate
Validate files with
html-validate
Install
$ npm install --save-dev grunt-html-validate
Usage
require("load-grunt-tasks")(grunt);
grunt.initConfig({
htmlvalidate: {
default: {
src: ["file.html"],
},
},
});
Options
format
Type: string|string[]|[string, object][]
Default: stylish
Set the output formatter.
{
options: {
format: ["stylish", ["json", { dest: "report.json" }]];
}
}
failOnError
Type: boolean
Default: true
Fail the build if any errors are encountered.