Launch Week Day 5: Introducing Reachability for PHP.Learn More
Socket
Book a DemoSign in
Socket

gulp-jshint-checkstyle-reporter

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-jshint-checkstyle-reporter

JSHint checkstyle reporter which outputs to the stream

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

Gulp JSHint checkstyle reporter

Writes checkstyle output to a stream. This can be used to report JSHint results to Jenkins.

Installation

npm install --save-dev gulp-jshint-checkstyle-reporter

Usage

Gulp

var gulp = require('gulp');
var jshint = require('gulp-jshint');
var checkstyleReporter = require('gulp-jshint-checkstyle-reporter');

gulp.task('jshint', function() {
	gulp.src('*.js')
		.pipe(jshint())
		.pipe(checkstyleReporter())
		.pipe(gulp.dest('target/checkstyle-reports'));
});

Options

You could optionally pass an options object into the checkstyleReporter function:

  • filename (defaults to checkstyle.xml). Default filename of the output xml file.
  • Any other jshint-checkstyle reporter option.

Keywords

jshint

FAQs

Package last updated on 20 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts