jack e1a2621c78 update 2 gadi atpakaļ
..
index.js e1a2621c78 update 2 gadi atpakaļ
license e1a2621c78 update 2 gadi atpakaļ
package.json e1a2621c78 update 2 gadi atpakaļ
readme.md e1a2621c78 update 2 gadi atpakaļ
stylish.js e1a2621c78 update 2 gadi atpakaļ

readme.md

jshint-stylish Build Status

Stylish reporter for JSHint

Compared to the default reporter:

Install

$ npm install --save-dev jshint-stylish

Usage

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