gulp-jshint-notify-reporter

1.0.2 • Public • Published

gulp-jshint-notify-reporter

Send native system notifications when an error or warning occur.

Instalation

npm install gulp-jshint-notify-reporter --save

Usage

var gulp   = require('gulp');
var jshint = require('gulp-jshint');
var notificator = require('gulp-jshint-notify-reporter');

gulp.task('lint', function() {
  return gulp.src('./lib/*.js')
    .pipe(jshint())
    .pipe(jshint.reporter('default'))
    .pipe( notificator() );
});

Options

Plugin options:

  • warning_length

    • Default: 3
    • Define how many warnings are shown up.
  • error_length

    • Default: 3
    • Define how many errors are shown up.

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i gulp-jshint-notify-reporter

    Weekly Downloads

    94

    Version

    1.0.2

    License

    ISC

    Last publish

    Collaborators

    • stevenquiroa