Update gulp lint task

pull/4181/head
Berkeley Martinez 2015-11-06 21:12:14 -08:00
parent f76a3ac1ab
commit 8087db11f0
1 changed files with 8 additions and 1 deletions

View File

@ -178,7 +178,14 @@ gulp.task('sync', syncDepenedents, function() {
});
gulp.task('lint-js', function() {
return gulp.src(['public/js/lib/**/*'])
return gulp.src([
'common/**/*.js',
'common/**/*.jsx',
'client/**/*.js',
'client/**/*.jsx',
'server/**/*.js',
'config/**/*.js'
])
.pipe(eslint())
.pipe(eslint.format());
});