gulp-jscs
Version:
Check JavaScript code style with jscs
51 lines (28 loc) • 950 B
Markdown
# [gulp](http://gulpjs.com)-jscs [](https://travis-ci.org/sindresorhus/gulp-jscs)
> Check JavaScript code style with [jscs](https://github.com/mdevils/node-jscs)

*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)