gulp-jsvalidate

Validate JavaScript code and report possible syntax errors

gulp-jsvalidate

Validate JavaScript code and report possible syntax errors

The earlier you find syntax errors, the earlier you can fix them.

$ npm install --save-dev gulp-jsvalidate
var gulp = require('gulp');
var jsValidate = require('gulp-jsvalidate');
 
gulp.task('default', function () {
    return gulp.src('app.js')
        .pipe(jsValidate());
});

MIT © Sindre Sorhus