bundles/org.eclipse.orion.client.javascript/web/eslint/lib/config/rules.js
function importPlugin(pluginRules, pluginName) {
		Object.keys(pluginRules).forEach(function(ruleId) {
			var qualifiedRuleId = pluginName + "/" + ruleId,
				rule = pluginRules[ruleId];

			define(qualifiedRuleId, rule);
		});
	}
function importPlugin(pluginRules, pluginName) {
		Object.keys(pluginRules).forEach(function(ruleId) {
			var qualifiedRuleId = pluginName + "/" + ruleId,
				rule = pluginRules[ruleId];

			define(qualifiedRuleId, rule);
		});
	}
function importPlugin ( pluginRules , pluginName ) { Object . keys ( pluginRules ) . forEach ( function ( ruleId ) { var qualifiedRuleId = pluginName + "/" + ruleId , rule = pluginRules [ ruleId ] ; define ( qualifiedRuleId , rule ) ; } ) ; }
Registers all given rules of a plugin.
@param {Object} pluginRules A key/value map of rule definitions.
@param {string} pluginName The name of the plugin without prefix (`eslint-plugin-`).
@returns {void}
Registers all given rules of a plugin .