Socket
Book a DemoInstallSign in
Socket

jshint-stylish-source

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jshint-stylish-source

jshint-stylish + offending source display

latest
Source
npmnpm
Version
1.0.5
Version published
Maintainers
1
Created
Source

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))
		;
});

Keywords

jshint

FAQs

Package last updated on 17 Apr 2015

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