/gulp-jscs

Check JavaScript code style with jscs

Primary LanguageJavaScriptMIT LicenseMIT

gulp-jscs Build Status

Check JavaScript code style with jscs

Issues with the output should be reported on the jscs issue tracker.

Install

$ npm install --save-dev gulp-jscs

Usage

var gulp = require('gulp');
var jscs = require('gulp-jscs');

gulp.task('default', function () {
	return gulp.src('src/app.js')
		.pipe(jscs());
});

API

jscs(configPath | options)

configPath

Type: string
Default: './.jscsrc'

Path to the .jscsrc.

options

Type: object

See the jscs options.

License

MIT © Sindre Sorhus