broccoli-standard ![Build Status](https://camo.githubusercontent.com/9eb5a73846fa82402df94167c8aa52a592cc7e459a6401176f39fefdc3816369/68747470733a2f2f7472617669732d63692e6f72672f61727363686d69747a2f62726f63636f6c692d7374616e646172642e706e673f6272616e63683d6d6173746572)
Standardize your JavaScript using Standard
This plugin is heavily inspired by and based on broccoli-eslint by makepanic makepanic/broccoli-eslint.
Install
npm install --save broccoli-standard
Example
var standard = require('broccoli-standard');
tree = standard(node, options);
API
standard(node, options)
options
format
Type: String
Default: 'eslint/lib/formatters/stylish'
Path path to a custom formatter (See eslint/tree/master/lib/formatters for alternatives).
fix
Type: Boolean
Default: true
If the source and output files should be fixed with the standard fix option
throwOnError
Type: Boolean
Default: 'false'
If an error should be thrown or not when an error is found processing the file