docs: function printReports(filePath, results) {
  
    let errorCount = 0;
    let warningCount = 0;
  
    const table = createTable();
  
    Object.entries(results).forEach(function([ name, reports ]) {
  
      reports.forEach(function(report) {
  
        const {
          category,
          id,
          message,
          name: reportName
        } = report;
  
        table.push(tableEntry({
          category,
          id,
          message,
          name: reportName || name
        }));
  
        if (category === 'error') {
          errorCount++;
        } else {
          warningCount++;
        }
      });
    });
  
    const problemCount = warningCount + errorCount;
  
    if (problemCount) {
      console.log();
      console.log(underline(path.resolve(filePath)));
      console.log(table.toString());
    }
  
    return {
      errorCount,
      warningCount
    };
  }