2.0.2 • Published 9 years ago

jshint-stylish-cool v2.0.2

Weekly downloads
19
License
MIT
Repository
github
Last release
9 years ago

jshint-stylish-cool Build Status

Copy from Stylish reporter for JSHint

npm.io

Compared to the default reporter:

npm.io

Install

$ npm install --save-dev jshint-stylish-cool

Usage

JSHint CLI

$ 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']);

License

MIT © xiaobaicaistring