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.

install

npm i gulp-jshint-notify-reporter

Downloadsweekly downloads

59

version

1.0.2

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability