All Projects → sindresorhus → gulp-jsvalidate

sindresorhus / gulp-jsvalidate

Licence: MIT license
Validate JavaScript code and report possible syntax errors

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to gulp-jsvalidate

Gulp Size
Display the size of your project
Stars: ✭ 225 (+878.26%)
Mutual labels:  gulp-plugin
gulp-cleanhtml
remove unneeded whitespaces, line-breaks, comments, etc from the HTML.
Stars: ✭ 19 (-17.39%)
Mutual labels:  gulp-plugin
gulp-ava
Run AVA tests
Stars: ✭ 56 (+143.48%)
Mutual labels:  gulp-plugin
gulp-upload-qcloud
腾讯云 cos 静态资源上传 gulp 插件
Stars: ✭ 18 (-21.74%)
Mutual labels:  gulp-plugin
gulp-cssbeautify
Reindent and reformat CSS
Stars: ✭ 18 (-21.74%)
Mutual labels:  gulp-plugin
gulp-html
Gulp plugin for HTML validation, using the official Nu Html Checker (v.Nu)
Stars: ✭ 70 (+204.35%)
Mutual labels:  gulp-plugin
Gulp Html Replace
Replace build blocks in HTML. Like useref but done right.
Stars: ✭ 222 (+865.22%)
Mutual labels:  gulp-plugin
gulp-esbuild
gulp plugin for esbuild bundler
Stars: ✭ 39 (+69.57%)
Mutual labels:  gulp-plugin
gulp-myth
[DEPRECATED] Myth - Postprocessor that polyfills CSS
Stars: ✭ 39 (+69.57%)
Mutual labels:  gulp-plugin
gulp-merge-json
A gulp plugin to merge JSON & JSON5 files into one file
Stars: ✭ 35 (+52.17%)
Mutual labels:  gulp-plugin
gulp-spsync-creds
Gulp plugin for synchronizing local files with a SharePoint library via user credentials
Stars: ✭ 12 (-47.83%)
Mutual labels:  gulp-plugin
gulp-sort
Sort files in stream by path or any custom sort comparator
Stars: ✭ 22 (-4.35%)
Mutual labels:  gulp-plugin
gulp-es6-transpiler
[DEPRECATED] Transpile ES2015 to ES5
Stars: ✭ 47 (+104.35%)
Mutual labels:  gulp-plugin
Gulp Strip Debug
Strip console, alert, and debugger statements from JavaScript code
Stars: ✭ 242 (+952.17%)
Mutual labels:  gulp-plugin
gulp-qunit
Run QUnit unit tests in a headless PhantomJS instance.
Stars: ✭ 24 (+4.35%)
Mutual labels:  gulp-plugin
Gulp Debug
Debug Vinyl file streams to see what files are run through your Gulp pipeline
Stars: ✭ 223 (+869.57%)
Mutual labels:  gulp-plugin
gulp-sitemap
Generate a search engine friendly sitemap.xml using a Gulp stream
Stars: ✭ 60 (+160.87%)
Mutual labels:  gulp-plugin
gulp-px2rem
This is a gulp plugin for node-px2rem.
Stars: ✭ 19 (-17.39%)
Mutual labels:  gulp-plugin
gulp-strip-json-comments
Strip comments from JSON. Lets you use comments in your JSON files!
Stars: ✭ 25 (+8.7%)
Mutual labels:  gulp-plugin
gulp-rework
Preprocess CSS with Rework
Stars: ✭ 30 (+30.43%)
Mutual labels:  gulp-plugin

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-jsvalidate

Usage

const gulp = require('gulp');
const jsValidate = require('gulp-jsvalidate');

exports.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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].