Skip to content

FunnyDewd/grunt-html

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grunt-html

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

Getting Started

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

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

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.

License

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

About

Grunt plugin for html validation

Resources

License

Stars

Watchers

Forks

Packages

No packages published