avh4 / elm-format

elm-format formats Elm source code according to a standard set of rules based on the official Elm Style Guide
BSD 3-Clause "New" or "Revised" License
1.31k stars 146 forks source link

Human readable summary of rules? #165

Open glenjamin opened 8 years ago

glenjamin commented 8 years ago

Hello everyone, elm-format is great - but sometimes I'm unsure what it's going to do with my code (or why)

Is there a human readable version of the formatting rules available anywhere?

cies commented 8 years ago

I have the same problem: what is the "standard set of rules" as mentioned in the README.

Also I think the output of elm-format as it currently is, could --IMHO-- be improved for readability quite a bit. I see a lot of lines that have very little code on them (like only one symbol), this eats vertical screen estate. I'd also argue that 4 spaces eats too much horizontal estate. But that's a different story. :)