Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 1.11 KB

readme.md

File metadata and controls

58 lines (38 loc) · 1.11 KB

jshint-stylish Build Status

Stylish reporter for JSHint

screenshot

Compared to the default reporter:

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.task('default', function () {
	gulp.src(['file.js'])
		.pipe(jshint('.jshintrc'))
		.pipe(jshint.reporter('jshint-stylish'));
});
grunt.initConfig({
	jshint: {
		options: {
			reporter: require('jshint-stylish')
		},
		target: ['file.js']
	}
});

grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.registerTask('default', ['jshint']);

License

MIT © Sindre Sorhus