toolbag-plugin-reporter-error-policy
v1.0.0
Published
toolbag plugin that utilizes reporters as the error policy
Downloads
6
Maintainers
Readme
toolbag-plugin-reporter-error-policy
Toolbag plugin plugin that utilizes reporters as the error policy.
Supported Parameters
name
(string) - The name to give to the error policy.use
(boolean) - Iftrue
, the new policy becomes the default error policy. Defaults tofalse
.
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
}
}
]
});
};