bundles/org.eclipse.orion.client.javascript/web/eslint/lib/eslint.js
function isDisabledByReportingConfig(reportingConfig, ruleId, location) {

		for (var i = 0, c = reportingConfig.length; i < c; i++) {

			var ignore = reportingConfig[i];

			if ((!ignore.rule || ignore.rule === ruleId) &&
				(location.line > ignore.start.line || (location.line === ignore.start.line && location.column >= ignore.start.column)) &&
				(!ignore.end || (location.line < ignore.end.line || (location.line === ignore.end.line && location.column <= ignore.end.column)))) {
				return true;
			}
		}

		return false;
	}
function isDisabledByReportingConfig(reportingConfig, ruleId, location) {

		for (var i = 0, c = reportingConfig.length; i < c; i++) {

			var ignore = reportingConfig[i];

			if ((!ignore.rule || ignore.rule === ruleId) &&
				(location.line > ignore.start.line || (location.line === ignore.start.line && location.column >= ignore.start.column)) &&
				(!ignore.end || (location.line < ignore.end.line || (location.line === ignore.end.line && location.column <= ignore.end.column)))) {
				return true;
			}
		}

		return false;
	}
function isDisabledByReportingConfig ( reportingConfig , ruleId , location ) { for ( var i = 0 , c = reportingConfig . length ; i < c ; i ++ ) { var ignore = reportingConfig [ i ] ; if ( ( ! ignore . rule || ignore . rule === ruleId ) && ( location . line > ignore . start . line || ( location . line === ignore . start . line && location . column >= ignore . start . column ) ) && ( ! ignore . end || ( location . line < ignore . end . line || ( location . line === ignore . end . line && location . column <= ignore . end . column ) ) ) ) { return true ; } } return false ; }
Check if message of rule with ruleId should be ignored in location
@param  {Object[]} reportingConfig  Collection of ignore records
@param  {string} ruleId   Id of rule
@param  {Object} location Location of message
@returns {boolean}          True if message should be ignored, false otherwise
Check if message of rule with ruleId should be ignored in location