code: function printResults(engine, results, format) {
      let formatter;
  
      try {
          formatter = engine.getFormatter(format);
      }
      catch (e) {
          log.error(e.message);
          return false;
      }
  
      const output = formatter(results);
  
      if (output) {
          log.info(output);
      }
  
      return true;
  }
docs: Outputs the results of the linting.
  @param {CLIEngine} engine The CLIEngine to use.
  @param {LintResult[]} results The results to print.
  @param {string} format The name of the formatter to use or the path to the formatter.
  @returns {boolean} True if the printing succeeds, false if not.
  @private