jshint-stylish

Stylish reporter for JSHint

  • Owner: sindresorhus/jshint-stylish
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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 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

Main metrics

Overview
Name With Ownersindresorhus/jshint-stylish
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2013-10-12 22:32:17
Pushed At2023-11-05 18:09:46
Last Commit At
Release Count17
Last Release Namev2.2.1 (Posted on 2016-08-13 02:26:12)
First Release Namev0.1.0 (Posted on 2013-10-13 00:33:42)
用户参与
Stargazers Count558
Watchers Count18
Fork Count49
Commits Count52
Has Issues Enabled
Issues Count27
Issue Open Count0
Pull Requests Count2
Pull Requests Open Count0
Pull Requests Close Count11
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private