jshint-时尚
时尚记者
与默认报告器相比:
安装
$ npm install --save-dev jshint-stylish
用法
JSHint CLI
$ jshint --reporter=node_modules/jshint-stylish file.js
gulp . task ( 'default' , ( ) =>
gulp . src ( [ 'file.js' ] )
. pipe ( jshint ( '.jshintrc' ) )
. pipe ( jshint . reporter ( 'jshint-stylish' ) )
) ;
grunt . initConfig ( {
jshint : {
options : {
reporter : require ( 'jshint-stylish' )
} ,
tar
1