Skip to content

Commit

Permalink
Use underline text for diagnostic location
Browse files Browse the repository at this point in the history
  • Loading branch information
daniilsapa committed Dec 24, 2024
1 parent be75edf commit 32bc7eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/pretty-reporter/src/format-single-diagnostic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function formatSingleDiagnostic(d: Diagnostic, cwd: string): string {
const e = pc.reset(figures.lineUpRight)
const message = pc.reset(d.message)
const autofixable = d.fixes !== undefined && d.fixes.length > 0 ? pc.green(`${figures.tick} Auto-fixable`) : null
const location = pc.dim(formatLocation(d.location, cwd))
const location = pc.underline(formatLocation(d.location, cwd))
const ruleName = pc.blue(terminalLink(d.ruleName, d.getRuleDescriptionUrl(d.ruleName).toString()))

return `
Expand Down

0 comments on commit 32bc7eb

Please sign in to comment.