node package manager

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
const gulp = require('gulp');
const jsValidate = require('gulp-jsvalidate');
 
gulp.task('default', () =>
    gulp.src('app.js')
        .pipe(jsValidate())
);

MIT © Sindre Sorhus