node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey »

jshint-growl-reporter

jshint-growl-reporter

NPM version Build Status Dependency Status

Growl reporter for JSHint

Reports summary when there are multiple errors, shows specific error when there is only one error.

Install

Install with npm: npm install -D jshint-growl-reporter

Usage

Use it with:

JSHint CLI

jshint --reporter jshint-growl-reporter.js file.js

gulp-jshint

gulp.task('default', function () {
  gulp.src(['file.js'])
    .pipe(jshint('.jshintrc'))
    .pipe(jshint.reporter('jshint-growl-reporter'));
});

grunt-contrib-jshint

grunt.initConfig({
  jshint: {
    options: {
      reporter: require('jshint-growl-reporter')
    },
    target: ['file.js']
  }
});
 
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.registerTask('default', ['jshint']);

License

MIT License