1.0.1 • Published 6 years ago

gulp-htmlhint-junit-reporter v1.0.1

Weekly downloads
168
License
BSD-2-Clause
Repository
github
Last release
6 years ago

gulp-htmlhint-junit-reporter

junit reporter for gulp-htmlhint

Background

gulp-htmlhint-junit-reporter does what you would expect from its overly-verbose name: it is a reporter for gulp-htmlhint that outputs an xml file in junit format.

Install

$ npm install --save-dev gulp-htmlhint-junit-reporter

Usage

var gulp = require('gulp');
var htmlhintJunitReporter = require('gulp-htmlhint-junit-reporter');
var htmlhint = require('gulp-htmlhint');
gulp.task('htmlhint', () => {
  gulp.src(['index.html'])
    .pipe(htmlhint('.htmlhintrc'))
    .pipe(htmlhint.reporter(htmlhintJunitReporter('reports/TEST-htmlhint.xml')));
});