tcoopman / gulp-jscs

Check JavaScript code style with jscs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

configPath

Type: string
Default: './.jscsrc'

Path to the .jscsrc.

License

MIT © Sindre Sorhus

About

Check JavaScript code style with jscs