bundles/org.eclipse.orion.client.webtools/web/csslint/csslint.js
function(message, line, col, rule, data) {
        "use strict";

        // Check if rule violation should be allowed
        if (this.allow.hasOwnProperty(line) && this.allow[line].hasOwnProperty(rule.id)) {
            return;
        }

        var ignore = false;
        CSSLint.Util.forEach(this.ignore, function (range) {
            if (range[0] <= line && line <= range[1]) {
                ignore = true;
            }
        });
        if (ignore) {
            return;
        }
        
        var t = "info";
    	if(this.ruleset[rule.id] === 2) {
    		t = "error";
    	} else if(this.ruleset[rule.id] === 1) {
    		t = "warning";
    	}
        var err = {
            type    : t,
            line    : line,
            col     : col,
            message : message,
            evidence: this.lines[line-1],
            rule    : rule
        };
        if(data) {
        	err.data = data;
        }
        this.messages.push(err);
    }
function(message, line, col, rule, data) {
        "use strict";

        // Check if rule violation should be allowed
        if (this.allow.hasOwnProperty(line) && this.allow[line].hasOwnProperty(rule.id)) {
            return;
        }

        var ignore = false;
        CSSLint.Util.forEach(this.ignore, function (range) {
            if (range[0] <= line && line <= range[1]) {
                ignore = true;
            }
        });
        if (ignore) {
            return;
        }
        
        var t = "info";
    	if(this.ruleset[rule.id] === 2) {
    		t = "error";
    	} else if(this.ruleset[rule.id] === 1) {
    		t = "warning";
    	}
        var err = {
            type    : t,
            line    : line,
            col     : col,
            message : message,
            evidence: this.lines[line-1],
            rule    : rule
        };
        if(data) {
        	err.data = data;
        }
        this.messages.push(err);
    }
function ( message , line , col , rule , data ) { "use strict" ; // Check if rule violation should be allowed if ( this . allow . hasOwnProperty ( line ) && this . allow [ line ] . hasOwnProperty ( rule . id ) ) { return ; } var ignore = false ; CSSLint . Util . forEach ( this . ignore , function ( range ) { if ( range [ 0 ] <= line && line <= range [ 1 ] ) { ignore = true ; } } ) ; if ( ignore ) { return ; } var t = "info" ; if ( this . ruleset [ rule . id ] === 2 ) { t = "error" ; } else if ( this . ruleset [ rule . id ] === 1 ) { t = "warning" ; } var err = { type : t , line : line , col : col , message : message , evidence : this . lines [ line - 1 ] , rule : rule } ; if ( data ) { err . data = data ; } this . messages . push ( err ) ; }
Report an issue.
@param {String} message The message to store.
@param {int} line The line number.
@param {int} col The column number.
@param {Object} rule The rule this message relates to.
@param {Object} data An optional object to pass message data through
@method report
ORION Include NLS data in message, allow info severity
Report an issue .