grunt-html-validate

4.0.0 • Public • Published

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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
4.0.01latest

Version History

VersionDownloads (Last 7 Days)Published
4.0.01
3.0.028
2.0.087
1.0.20
1.0.10
1.0.00
0.5.00
0.4.70
0.4.60
0.4.50
0.4.40
0.4.30
0.4.20
0.4.10
0.4.00
0.3.00
0.2.10
0.2.00
0.1.40
0.1.30
0.1.20
0.1.10
0.1.00

Package Sidebar

Install

npm i grunt-html-validate

Weekly Downloads

89

Version

4.0.0

License

MIT

Unpacked Size

4.82 kB

Total Files

4

Last publish

Collaborators

  • ext