bevy-website icon indicating copy to clipboard operation
bevy-website copied to clipboard

_release_notes.toml formatting does not have standard formatting

Open alice-i-cecile opened this issue 1 year ago • 3 comments

This creates nasty diffs during format-on-save.

image

Missing spaces.

image

Line breaks.

alice-i-cecile avatar May 26 '24 21:05 alice-i-cecile

I think the easiest thing to do would be to make sure to save the file with a formatter before opening the first PR. We can add the spaces for the list, but the newlines on longer list I don't really know what the heuristic would be for that.

IceSentry avatar May 26 '24 21:05 IceSentry

oh, but that file is regenerated every time, right....

IceSentry avatar May 26 '24 21:05 IceSentry

Does the toml crate's pretty serialization match the expected format?

I'll try to remember to look into that at some point.

rparrett avatar Jun 22 '24 00:06 rparrett