gulp-jshint-instafail

1.0.0 • Public • Published

gulp-jshint-instafail

Instantly failing reporter for gulp-jshint.

Purpose

Stop gulp and jshint from whatever it is doing, once jshint reported an error in a file.

Installation

npm install gulp-jshint-instafail

Usage

gulp.task("lint", function () {
  gulp
    .src(["./lib/**/*.js"])
    .pipe(jshint())
    .pipe(jshint.reporter(require("jshint-stylish")))
    .pipe(jshint.reporter(require("gulp-jshint-instafail")));
});

Readme

Keywords

Package Sidebar

Install

npm i gulp-jshint-instafail

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • sdepold