Closed
Description
I ran v0.1.0 against some sample code and it reformatted the code like this:
const y_dominant = Math.abs(diff_y) > Math.abs(diff_x);
let dist = Math.sqrt(diff_x * diff_x + diff_y * diff_y);
// If y is dominant, then treat an increase in dy as negative (y is
- // pointed downward). Otherwise, if y is not dominant and x has
+ // pointed downward). Otherwise, if y is not dominant and x has
// decreased, then treat it as negative.
if ((y_dominant && diff_y > 0) || (!y_dominant && diff_x < 0))
Metadata
Assignees
Labels
No labels