# [gulp](http://gulpjs.com)-jscs [![Build Status](https://travis-ci.org/sindresorhus/gulp-jscs.svg?branch=master)](https://travis-ci.org/sindresorhus/gulp-jscs)

> Check JavaScript code style with [jscs](https://github.com/mdevils/node-jscs)

![](screenshot.png)

*Issues with the output should be reported on the jscs [issue tracker](https://github.com/mdevils/node-jscs/issues).*


## Install

```sh
$ npm install --save-dev gulp-jscs
```


## Usage

```js
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](https://github.com/mdevils/node-jscs#configuration).

#### options

Type: `object`

See the jscs [options](https://github.com/mdevils/node-jscs#options).


## License

MIT © [Sindre Sorhus](http://sindresorhus.com)
