jshint-stylish-recolor
v0.2.0-a
Published
Quick fork of jshint-stylish -- please see original
Downloads
30
Maintainers
Readme
jshint-stylish
Stylish reporter for JSHint Recolored blue to yellow
Compared to the default reporter:
Install
$ npm install --save-dev jshint-stylish
Getting started
Use it with:
JSHint CLI
jshint --reporter node_modules/jshint-stylish/stylish.js 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']);