@cjser/gulp-jsvalidate
v6.1.0-cjser.2
Published
Validate JavaScript code and report possible syntax errors
Maintainers
Readme
gulp-jsvalidate
Validate JavaScript code and report possible syntax errors

The earlier you find syntax errors, the earlier you can fix them.
Install
npm install --save-dev gulp-jsvalidateUsage
import gulp from 'gulp';
import jsValidate from 'gulp-jsvalidate';
export default () => (
gulp.src('app.js')
.pipe(jsValidate())
);API
gulpJsValidate(options?)
options
Type: object
module
Type: boolean
Default: true
Parse the JavaScript code as a ES2015 module instead of a script.
cjser
This package is a CommonJS-compatible build generated by cjser for projects that still need require() support. The source version matches the original npm package version, with a cjser prerelease suffix for this generated build.
Original repository: https://github.com/sindresorhus/gulp-jsvalidate
