Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
conaclos
· 3y ago · 0 comments
What do you mean by "backwards"?
Comments
[–]
surye
3y ago
The "diff" appears to be backwards (it's subtracting what prettier would emit, and adding back the original).
[–]
ematipico
3y 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.
[–]
globular-toast
3y ago
This was intuitive to me, especially because it's in a section titled "Differences with Prettier".
[–]
explaininjs
3y ago
The diff is between the test cases’s expected output (red) and the utility’s current output (green).