mirror of
https://github.com/h5bp/html5-boilerplate.git
synced 2026-01-10 07:08:02 -05:00
Include gulpfile.js to be run through JSHint
This commit is contained in:
10
gulpfile.js
10
gulpfile.js
@@ -127,10 +127,12 @@ gulp.task('copy:normalize', function () {
|
||||
});
|
||||
|
||||
gulp.task('jshint', function () {
|
||||
return gulp.src(template('<%= src %>/js/*.js', dirs))
|
||||
.pipe(plugins.jshint())
|
||||
.pipe(plugins.jshint.reporter('jshint-stylish'))
|
||||
.pipe(plugins.jshint.reporter('fail'));
|
||||
return gulp.src([
|
||||
'gulpfile.js',
|
||||
template('<%= src %>/js/*.js', dirs)
|
||||
]).pipe(plugins.jshint())
|
||||
.pipe(plugins.jshint.reporter('jshint-stylish'))
|
||||
.pipe(plugins.jshint.reporter('fail'));
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user