Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

broccoli-standard

1.1.1 • Public • Published

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

Install

npm i broccoli-standard

DownloadsWeekly Downloads

73

Version

1.1.1

License

MIT

Unpacked Size

15.1 kB

Total Files

14

Last publish

Collaborators

  • avatar