Out of curiosity after #14, I checked to see whether there are any other formatting blemishes and ran a diff of the ete-test output. It's pretty close now, but I wonder if using https://github.com/mdgriffith/elm-codegen could get it all the way to nicely formatted code. It hasn't been officially released yet, but I used it for one project and it's already quite a useful tool.
I'm not sure if elm-codegen would support adding multiline comments in some of the places that they can be inserted by this tool, though.
Here are the remaining diffs with how elm-format 0.8.5 formats the code:
Out of curiosity after #14, I checked to see whether there are any other formatting blemishes and ran a diff of the ete-test output. It's pretty close now, but I wonder if using https://github.com/mdgriffith/elm-codegen could get it all the way to nicely formatted code. It hasn't been officially released yet, but I used it for one project and it's already quite a useful tool.
I'm not sure if
elm-codegen
would support adding multiline comments in some of the places that they can be inserted by this tool, though.Here are the remaining diffs with how
elm-format
0.8.5 formats the code: