gulp-jscs
Check JavaScript code style with jscs
Issues with the output should be reported on the jscs issue tracker.
$ npm install --save-dev gulp-jscs
var gulp = require('gulp');
var jscs = require('gulp-jscs');
gulp.task('default', function () {
return gulp.src('src/app.js')
.pipe(jscs());
});
Type: string
Default: './.jscsrc'
Path to the .jscsrc.
Type: object
See the jscs options.
Set esnext: true
if you want your code to be parsed as ES6 using the harmony
version of the esprima parser.
MIT © Sindre Sorhus