Check JavaScript code style with jscs
Issues with the output should be reported on the jscs issue tracker.
Install
Install with npm
npm install --save-dev gulp-jscs
Example
var gulp = require('gulp');
var jscs = require('gulp-jscs');
gulp.task('default', function () {
gulp.src('src/app.js')
.pipe(jscs());
});
API
jscs(configPath)
configPath
Type: String
Default: '__dirname + /.jscs.json'
By default the .jscs.json besides the gulpfile will be used.
Specify a full path if it's located somewhere else.
License
MIT © Sindre Sorhus