toolbag-plugin-reporter-error-policy

1.0.0 • Public • Published

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
        }
      }
    ]
  });
};

Package Sidebar

Install

npm i toolbag-plugin-reporter-error-policy

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • cjihrig