jshint-growl-reporter
v1.0.0
Published
Growl reporter for JSHint
Downloads
10
Readme
jshint-growl-reporter
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']);