|  jack
				
				e1a2621c78
				update | 3 years ago | |
|---|---|---|
| .. | ||
| index.js | 3 years ago | |
| license | 3 years ago | |
| package.json | 3 years ago | |
| readme.md | 3 years ago | |
| stylish.js | 3 years ago | |
Stylish reporter for JSHint
Compared to the default reporter:
$ npm install --save-dev jshint-stylish
$ 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']);
MIT © Sindre Sorhus