KhodeN / 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 | options)

configPath

Type: string
Default: './.jscsrc'

Path to the .jscsrc.

options

Type: object

See the jscs options.

Set esnext: true if you want your code to be parsed as ES6 using the harmony version of the esprima parser.

License

MIT © Sindre Sorhus

About

Check JavaScript code style with jscs

License:MIT License


Languages

Language:JavaScript 100.0%