src/cli/common.js
/**
     * Filters out rules using the ignore command line option.
     * @param options {Object} the CLI options
     * @return {Object} A ruleset object.
     */
Filters out rules using the ignore command line option.
@param options {Object} the CLI options
@return {Object} A ruleset object.
Filters out rules using the ignore command line option . @param options { Object } the CLI options @return { Object } A ruleset object .
function filterRules(options) {
        var ignore = options.ignore,
            ruleset = null;
        if (ignore) {
            ruleset = CSSLint.getRuleset();
            ignore.split(",").forEach(function(value){
                delete ruleset[value];
            });            
        }
        return ruleset;
    }
function filterRules ( options ) { var ignore = options . ignore , ruleset = null ; if ( ignore ) { ruleset = CSSLint . getRuleset ( ) ; ignore . split ( "," ) . forEach ( function ( value ) { delete ruleset [ value ] ; } ) ; } return ruleset ; }
Filters out rules using the ignore command line option.
Filters out rules using the ignore command line option .