code: function printLintSummary(
    label: string,
    errors: number,
    warnings: number,
  ): void {
    const text = ` ${label}: ${errors} errors, ${warnings} warnings `
  
    let coloredText
  
    if (errors) {
      coloredText = chalk.white(chalk.bgRed(text))
    } else if (warnings) {
      coloredText = chalk.bgYellow(text)
    } else {
      coloredText = chalk.bgGreen(text)
    }
  
    const boldColoredText = chalk.bold(coloredText)
  
    console.log(`${boldColoredText}\n`)
  }
docs: Print summary of linting results for a particular linter/file type
  @param label - label for summary (language being linted)
  @param errors - error count
  @param warnings - warning count