Writes checkstyle output for lesshint to a stream.
npm install gulp-lesshint-checkstyle-reporter
var gulp = require('gulp');
var lesshint = require('gulp-lesshint');
var checkstyleReporter = require('gulp-lesshint-checkstyle-reporter');
gulp.task('lesshint', function() {
gulp.src('*.less')
.pipe(lesshint())
.pipe(checkstyleReporter())
.pipe(gulp.dest('target/checkstyle-reports'));
});
- filename (defaults to checkstyle.xml). Default filename of the output xml file.
Original reporter code by trygveaa/lesshint-reporter-checkstyle