1.0.0 • Published 8 years ago

toolbag-plugin-reporter-error-policy v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

toolbag-plugin-reporter-error-policy

Current Version Build Status via Travis CI Dependencies

belly-button-style

Toolbag plugin plugin that utilizes reporters as the error policy.

Supported Parameters

  • name (string) - The name to give to the error policy.
  • use (boolean) - If true, the new policy becomes the default error policy. Defaults to false.

Example Configuration

Add toolbag-plugin-reporter-error-policy to your package.json. Configure the plugin in .toolbagrc.js as shown below.

'use strict';

const ReporterErrorPolicy = require('toolbag-plugin-reporter-error-policy');

module.exports = function config (defaults, callback) {
  callback(null, {
    plugins: [
      {
        plugin: ReporterErrorPolicy,
        options: {
          name: 'reporter-error-policy',
          use: true
        }
      }
    ]
  });
};