Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

broccoli-standard

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-standard

broccoli filter for standard formatting

  • 0.1.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
23
decreased by-17.86%
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 27 Oct 2016

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc