code: function(text, filename) {
  
          var results = [],
              stats,
              options = this.options,
              ignoredPaths = new IgnoredPaths(options);
  
          if (filename && (options.ignore !== false) && ignoredPaths.contains(filename)) {
              results.push(createIgnoreResult(filename));
          } else {
              results.push(processText(text, filename));
          }
  
          stats = calculateStatsPerRun(results);
  
          return {
              results: results,
              errorCount: stats.errorCount,
              warningCount: stats.warningCount
          };
      }
docs: Executes the current configuration on text.
  @param {string} text A string of JavaScript code to lint.
  @param {string} filename An optional string representing the texts filename.
  @returns {Object} The results for the linting.