cool-reporter
v0.1.51
Published
Cool reporter for jshint
Downloads
9
Maintainers
Readme
cool-reporter
Cool reporter for JSHint
Install
$ npm install --save-dev cool-reporter
Usage
JSHint CLI
$ jshint --reporter node_modules/cool-reporter/reporter.js file.js
gulp-jshint
gulp.task('default', function () {
gulp.src(['file.js'])
.pipe(jshint('.jshintrc'))
.pipe(jshint.reporter('cool-reporter'));
});
grunt-contrib-jshint
grunt.initConfig({
jshint: {
options: {
reporter: require('cool-reporter')
},
target: ['file.js']
}
});
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.registerTask('default', ['jshint']);
License
MIT © Pedro Jesús Parra Cantero