Comment Handling
I tried to work on comments in #20 (closed), and think I made some progress, but I've either broken other things, or found new test cases that I don't yet test for.
publish => [
# external:internal
"${ext_port}:443", #lint:ignore:array_formatting
],
gets incorrectly formatted to
publish => [
# external:internal "${ext_port}:443", #lint:ignore:array_formatting ],
Now, the array close is part of the comment, and messes all kinds of stuff up.
I've got a few examples of this now, and it looks like my plugin shoves all the lines together until it finds a comma.