elm-lang / elm-plans

no longer in use, just want to keep discussions around
BSD 3-Clause "New" or "Revised" License
29 stars 1 forks source link

Elm automatic source code formatter #28

Closed tiziano88 closed 8 years ago

tiziano88 commented 8 years ago

Is there any interest in building a source code formatter (a la gofmt or rustfmt) enforcing Elm best practices? Given the AST representation of a file, it should not be too hard to basically pipe that into a pretty format function to generate its "canonical" representation.

jvoigtlaender commented 8 years ago

https://github.com/avh4/elm-format :smile:

tiziano88 commented 8 years ago

Oh well, I'm obviously late to the party :stuck_out_tongue: apologies, closing