Skip to content

Conversation

@dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Jul 22, 2022

Tackles a few issues with diagnostic messages printed to console, plus making them a bit more pretty.

  • Strip leading whitespace
  • Account for tabs (use two spaces)
  • Limit output to contents of first line so inner newlines don't break the formatting

image

  • I've read the contributing guidelines
  • I've added my name and email to the NOTICE file

@MaxGraey
Copy link
Member

Here is my console:
console

@dcodeIO dcodeIO merged commit a584906 into main Jul 22, 2022
@HerrCai0907 HerrCai0907 deleted the prettier-diagnostics branch October 17, 2023 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants