jshint-stylish

Stylish reporter for JSHint

npm install jshint-stylish
3 007 downloads in the last day
16 412 downloads in the last week
68 331 downloads in the last month

jshint-stylish Build Status

Stylish reporter for JSHint

screenshot

Compared to the default reporter:

default reporter

Install

Install with npm: 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']);

License

MIT © Sindre Sorhus

npm loves you