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 148 forks source link

Automatic fix request: "Replace case ... then" by "case ... of" #766

Closed jfmengels closed 1 year ago

jfmengels commented 2 years ago

It would be nice if elm-format could autofix case ... then to case ... of.

It's a mistake I think I and others too commonly make and not the easiest one to figure out at a glance.