lib/cli-engine.js
function processFile(filename, options) {

    var text = fs.readFileSync(path.resolve(filename), "utf8"),
        result = processText(text, filename, options);

    return result;

}
function processFile(filename, options) {

    var text = fs.readFileSync(path.resolve(filename), "utf8"),
        result = processText(text, filename, options);

    return result;

}
function processFile ( filename , options ) { var text = fs . readFileSync ( path . resolve ( filename ) , "utf8" ) , result = processText ( text , filename , options ) ; return result ; }
Processes an individual file using bemlint. Files used here are known to
exist, so no need to check that here.
@param {string} filename The filename of the file being checked.
@param {Object} configHelper The configuration options for bemlint.
@param {Object} options The CLIEngine options object.
@returns {Result} The results for linting on this file.
@private
Processes an individual file using bemlint . Files used here are known to exist so no need to check that here .