This sorts comments from closest to furthest from the start of the file.
Previously, the order was somewhat random, as can be seen in this temporary commit
We already do this sorting in elm-review, but it feels off to have to do it there.
This will make it more consistent as well, since declarations and imports are in "normal" order but comments weren't.
This sorts comments from closest to furthest from the start of the file. Previously, the order was somewhat random, as can be seen in this temporary commit
We already do this sorting in
elm-review
, but it feels off to have to do it there. This will make it more consistent as well, since declarations and imports are in "normal" order but comments weren't.Can be reviewed commit by commit.