code: function(ruleConfig) {
  
  			var severity = Array.isArray(ruleConfig) ? ruleConfig[0] : ruleConfig;
  
  			if (typeof severity === "string") {
  				severity = RULE_SEVERITY[severity.toLowerCase()] || 0;
  			}
  
  			return typeof severity === "number" && severity === 2;
  		}
docs: Determines if the severity for the given rule configuration represents an error.
  @param {int|string|Array} ruleConfig The configuration for an individual rule.
  @returns {boolean} True if the rule represents an error, false if not.