6 ms·
The "diff" appears to be backwards (it's subtracting what prettier would emit, and adding back the original).
by surye 3y ago
The "diff" appears to be backwards (it's subtracting what prettier would emit, and adding back the original).
- explaininjs 3y agoThe diff is between the test cases’s expected output (red) and the utility’s current output (green).
- ematipico 3y agoThe 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 agoThis was intuitive to me, especially because it's in a section titled "Differences with Prettier".