Skip to content

Instantly share code, notes, and snippets.

@dy
Last active January 9, 2023 15:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dy/7220571027b5d73893ae63335d9767ae to your computer and use it in GitHub Desktop.
Save dy/7220571027b5d73893ae63335d9767ae to your computer and use it in GitHub Desktop.
Why not prettier
  1. If there is //@ts-ignore on the first line, prettier may split it to multiple lines and break ts this way.
  2. Prettier expands inline constructs into ugly multiline vertical parts (myriads of examples)
  3. Prettier breaks matrices formatting
  4. It produces redundant diff logs, making it hard to analyze logic changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment