1.0.5 • Published 9 years ago

jshint-stylish-source v1.0.5

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

jshint-stylish-source

Fork of jshint-stylish, which also displays the offending line of source and highlights terms in the source which are single-quoted in the error message.

Screenshot

screenshot

Usage

This is pretty much a drop in replacement for jshint-stylish:

var gulp = require('gulp');
var jshint = require('gulp-jshint');
var jshintReporter = require('jshint-stylish-source');

gulp.task('lint', function () {
	return gulp.src(['**/*.js', '!**/node_modules/**', '!**/bower_components/**'])
		.pipe(jshint())
		.pipe(jshint.reporter(jshintReporter))
		;
});