gulp plugin for HTML validation, using the vnu.jar
Run npm install gulp-html
.
var gulp = require('gulp');
var validator = require('gulp-html');
gulp.task('html', function() {
return gulp.src('src/index.html')
.pipe(validator())
.pipe(gulp.dest('dist/'));
});
The options object supports the same options as the standard The Nu Markup Checker.
See also: http://validator.github.io/validator/#options
Type: Boolean
Default: false
Type: String
Default: "gnu"
Type: Boolean
Default: false
Type: Boolean
Default: false
Type: Boolean
Default: false
Copyright 2015 Daijiro Wachi
This software is released under the MIT License. See LICENSE.