[DEPRECATED] Generate complexity analysis reports
JavaScript
Latest commit df154ee Nov 23, 2014 @sindresorhus 1.0.2
Permalink
Failed to load latest commit information.
.editorconfig tweaks Sep 2, 2014
.gitattributes init Jan 3, 2014
.gitignore init Jan 3, 2014
.jshintrc tweaks Sep 2, 2014
.travis.yml init Jan 3, 2014
index.js tweaks Sep 2, 2014
license tweaks Sep 2, 2014
package.json 1.0.2 Nov 23, 2014
readme.md deprecate Nov 23, 2014
test.js tweaks Sep 2, 2014

readme.md

gulp-plato Build Status

Deprecated. Just use plato directly.

Generate complexity analysis reports with plato

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

Install

$ npm install --save-dev gulp-plato

Usage

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

gulp.task('default', function () {
	return gulp.src('app.js')
		.pipe(plato('report', {
			jshint: {
				options: {
					strict: true
				}
			},
			complexity: {
				trycatch: true
			}
		}));
});

API

plato(destDir, options)

destDir

Required
Type: string

Report destination.

options.jshint

Type: object

Options passed to JSHint.

options.complexity

Type: object

Options passed to complexity-report.

License

MIT © Sindre Sorhus