jshint-stylish

Stylish reporter for JSHint

  • 所有者: sindresorhus/jshint-stylish
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

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

主要指標

概覽
名稱與所有者sindresorhus/jshint-stylish
主編程語言JavaScript
編程語言JavaScript (語言數: 1)
平台
許可證MIT License
所有者活动
創建於2013-10-12 22:32:17
推送於2023-11-05 18:09:46
最后一次提交
發布數17
最新版本名稱v2.2.1 (發布於 2016-08-13 02:26:12)
第一版名稱v0.1.0 (發布於 2013-10-13 00:33:42)
用户参与
星數558
關注者數18
派生數49
提交數52
已啟用問題?
問題數27
打開的問題數0
拉請求數2
打開的拉請求數0
關閉的拉請求數11
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?