sindresorhus/jshint-stylish


Stylish reporter for JSHint

License: MIT

Language: JavaScript


jshint-stylish Build Status

Stylish reporter for JSHint


🔥 Want to strengthen your core JavaScript skills and master ES6?
I would personally recommend this awesome ES6 course by Wes Bos.


Compared to the default reporter:

Install

$ npm install --save-dev jshint-stylish

Usage

JSHint CLI

$ jshint --reporter=node_modules/jshint-stylish file.js

gulp-jshint

gulp.task('default', () =>
	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']);

Options

beep

Type: boolean
Default: false

The system bell will make a sound if there were any warnings or errors.

Gulp example
gulp.task('default', () =>
	gulp.src(['file.js'])
		.pipe(jshint('.jshintrc'))
		.pipe(jshint.reporter('jshint-stylish', {beep: true}))
);

License

MIT © Sindre Sorhus

Project Statistics

Sourcerank 20
Repository Size 155 KB
Stars 569
Forks 45
Watchers 21
Open issues 0
Dependencies 9
Contributors 8
Tags 17
Created
Last updated
Last pushed

Top Contributors See all

Sindre Sorhus Jason Karns Andrew Powell Jon Schlinkert Rodney Rehm Donnie Thomas Bradleycorn fiftyfactorauthentication

Packages Referencing this Repo

jshint-stylish
Stylish reporter for JSHint
Latest release v2.2.1 - Published - 569 stars
jshint-stylish
Stylish reporter for JSHint
Latest release 2.2.1 - Updated - 569 stars
jshint-stylish-recolor
Quick fork of jshint-stylish -- please see original
Latest release 0.2.0-a - Published - 569 stars

Recent Tags See all

v2.2.1 August 13, 2016
v2.2.0 May 01, 2016
v2.1.0 November 14, 2015
2.0.1 June 21, 2015
2.0.0 May 23, 2015
v1.0.2 May 03, 2015
v1.0.1 February 24, 2015
v1.0.0 September 19, 2014
v0.4.0 July 10, 2014
v0.3.0 July 08, 2014
v0.2.0 April 29, 2014
v0.1.5 January 03, 2014
v0.1.4 November 24, 2013
v0.1.3 October 25, 2013
v0.1.2 October 25, 2013

Interesting Forks See all

karl-sjogren/jshint-stylish-ex
Stylish reporter for JSHint
JavaScript - Last pushed - 4 stars - 2 forks
builtbylane/jshint-stylish-lane
Lane's Stylish reporter for JSHint
JavaScript - Last pushed - 2 stars

Something wrong with this page? Make a suggestion

Last synced: 2017-04-21 15:13:40 UTC

Login to resync this repository