Skip to content

Standard formatting for green vegetable based build systems

License

Notifications You must be signed in to change notification settings

arschmitz/broccoli-standard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

broccoli-standard Build Status

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

About

Standard formatting for green vegetable based build systems

Resources

License

Stars

Watchers

Forks

Packages

No packages published