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(configFileDir)
configFileDir
Type: String
Default: (gulpfile directory)
Path to the directory the .jscs.json
file resides in relative to the gulpfile.
Docs
This task is configured using .jscs.json file, located in the same folder as your gulpfile.
License
MIT © Sindre Sorhus