Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

jshint-growl-reporter

1.0.0 • Public • Published

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

install

npm i jshint-growl-reporter

Downloadsweekly downloads

12

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability