Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (26 sloc) 0.956 kB

grunt-html

Grunt plugin for html validation, using Mike Smith's vnu.jar.

Getting Started

Install this grunt plugin next to your project's grunt.js gruntfile with: npm install grunt-html

Then add this line to your project's grunt.js gruntfile:

grunt.loadNpmTasks('grunt-html');

Then specify what files to validate in your config:

grunt.initConfig({
    htmllint: {
        all: ["demos/**/*.html", "tests/**/*.html"]
    }
});

For fast validation, keep that in a single group, as the validator initialization takes a few seconds.

Release History

  • 0.1.1 Rename html task to htmllint, fixes #1
  • 0.1.0 First Release

License

Copyright (c) 2012 Jörn Zaefferer Licensed under the MIT license.

Jump to Line
Something went wrong with that request. Please try again.