lib/utils/rule-loader.js
function resolvePluginConfig(name, plugin) {
    let config = {};

    Object.keys(plugin.rules).forEach(function(ruleName) {
        config [name + "/" + ruleName] = plugin.rules [ruleName].meta.docs.type;
    });

    return config;
}
function resolvePluginConfig(name, plugin) {
    let config = {};

    Object.keys(plugin.rules).forEach(function(ruleName) {
        config [name + "/" + ruleName] = plugin.rules [ruleName].meta.docs.type;
    });

    return config;
}
Create provided plugin's default rule configuration
@param {String} name Plugin name without 'solium-plugin-' prefix
@param {Object} plugin The plugin Object as exported by the solium plugin
@returns {Object} config Rule configuration object for the given plugin