Skip to content

Instantly share code, notes, and snippets.

@ckjoris
ckjoris / gulpfile.js
Created Aug 6, 2014
gulp-jsvalidate with git hook
View gulpfile.js
var gulp = require('gulp');
var jsValidate = require('gulp-jsvalidate');
gulp.task('default', function() {
// check for js syntax errors
return gulp.src('web/app/**/*.js')
.pipe(jsValidate());
});