index.js
function ignorePlugins(plugins, currentPlugin) {
  return plugins.reduce(function (acc, plugin) {
    if (currentPlugin && currentPlugin.indexOf(plugin) > -1) {
      return true;
    }

    return acc;
  }, false);
}
function ignorePlugins(plugins, currentPlugin) {
  return plugins.reduce(function (acc, plugin) {
    if (currentPlugin && currentPlugin.indexOf(plugin) > -1) {
      return true;
    }

    return acc;
  }, false);
}
function ignorePlugins ( plugins , currentPlugin ) { return plugins . reduce ( function ( acc , plugin ) { if ( currentPlugin && currentPlugin . indexOf ( plugin ) > - 1 ) { return true ; } return acc ; } , false ) ; }
Check if plugin is ignored
Check if plugin is ignored