Y
Hacker News
new
|
ask
|
show
|
jobs
by
surye
932 days ago
The "diff" appears to be backwards (it's subtracting what prettier would emit, and adding back the original).
2 comments
ematipico
932 days ago
The red represents what would Prettier emits, and the green represents what Biom e emits. If you think that's unclear, feel free to send a PR to help us make it clearer.
link
globular-toast
931 days ago
This was intuitive to me, especially because it's in a section titled "Differences with Prettier".
link
explaininjs
932 days ago
The diff is between the test cases’s expected output (red) and the utility’s current output (green).
link