elm-format
elm-format copied to clipboard
elm-format formats Elm source code according to a standard set of rules based on the official Elm Style Guide
Version: 0.8.2 `elm-format` changes code (A) into (B) and then when run again (B) into (C). There are at least two bugs here: 1. `elm-format` generates output (B) which it...
It seems like `elm-format` should have some short options for users on the command line. The most obvious candidates are `--yes` and `--output`. It would be interesting to hear arguments...
I didn't want to install the Vim plugin, but I want to run `elm-format` from Vim. This is a small Ex mode command that will run `elm-format` on a buffer...
Added note for Linux users, and an extra note for nixOS users.
Trying out https://github.com/avh4/elm-format/issues/375 Notes: operator precedence: - 0 `` - 1 (nothing in core) - 2 `||`, 3 `&&` - 4 `== /= < > =` - 5 `++` -...
The number of spaces that constitute a tab of indentation in the output code is now configurable via the `--tabsize` command line argument. Changing the value from a constant to...
The following valid code ```elm a = case Nothing of Just _ -> 0 Nothing -> 0 |> List.singleton ``` gets reformatted into ```elm a = case Nothing of Just...
First of all, thank you for writing this tool. It is no doubt a lot of work. I'd like to give elm (and this formatter) another try, but the default...
There's currently no way to write this: ```elm case [ maybeFoo, maybeBar, maybeBaz ] of [ Just foo , Just bar , Just baz ] -> ``` The list pattern...