jshint-stylish-source
v1.0.5 jshint reporter lint stylish source offending
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
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))
;
});
npm i jshint-stylish-source
Metadata
- MIT
- >=0.10.0
- Mark K Cowan
- released 4/17/2015