diff --git a/packages/pretty-reporter/src/index.ts b/packages/pretty-reporter/src/index.ts index bb53ad7..f51cb28 100644 --- a/packages/pretty-reporter/src/index.ts +++ b/packages/pretty-reporter/src/index.ts @@ -7,16 +7,17 @@ export function formatPretty(diagnostics: Array) { return chalk.green(`${figures.tick} No problems found!`) } - let footer = chalk.red.bold(`Found ${diagnostics.length} problem${diagnostics.length > 1 ? 's' : ''}`) - - const autofixable = diagnostics.filter((d) => (d.fixes?.length ?? 0) > 0) - if (autofixable.length === diagnostics.length) { - footer += ' (all can be fixed automatically)' - } else if (autofixable.length > 0) { - footer += ` (${autofixable.length} can be fixed automatically)` - } else { - footer += ' (none can be fixed automatically)' - } + const footer = chalk.red.bold(`Found ${diagnostics.length} problem${diagnostics.length > 1 ? 's' : ''}`) + + // TODO: enable when we have auto-fixes + // const autofixable = diagnostics.filter((d) => (d.fixes?.length ?? 0) > 0) + // if (autofixable.length === diagnostics.length) { + // footer += ' (all can be fixed automatically)' + // } else if (autofixable.length > 0) { + // footer += ` (${autofixable.length} can be fixed automatically)` + // } else { + // footer += ' (none can be fixed automatically)' + // } return ( '\n' +