jshint-stylish

Stylish reporter for JSHint

jshint-stylish

Stylish reporter for JSHint

Compared to the default reporter:

$ npm install --save-dev jshint-stylish
$ jshint --reporter=node_modules/jshint-stylish file.js

gulp-jshint

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

grunt-contrib-jshint

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

MIT © Sindre Sorhus