Socket
Socket
Sign inDemoInstall

broccoli-standard

Package Overview
Dependencies
339
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    broccoli-standard

broccoli filter for standard formatting


Version published
Weekly downloads
37
increased by5.71%
Maintainers
1
Install size
39.2 MB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 27 Mar 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc