Skip to content

Commit 2c55bbf

Browse files
committed
fix jshint task
1 parent 809f339 commit 2c55bbf

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

gulpfile.js

+7-3
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,13 @@ gulp.task('scripts', function() {
2323
});
2424

2525
gulp.task('jshint', function() {
26-
gulp.src('*.js')
27-
.pipe(plugins.jshint())
28-
.pipe(plugins.jshint.reporter('jshint-stylish'));
26+
gulp.src([
27+
'gulpfile.js',
28+
'slack.js',
29+
'*.spec.js'
30+
])
31+
.pipe(plugins.jshint())
32+
.pipe(plugins.jshint.reporter('jshint-stylish'));
2933
});
3034

3135
gulp.task('jasmine', function() {

0 commit comments

Comments
 (0)