Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (grunt-html-validate) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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.