elm-format icon indicating copy to clipboard operation
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

Results 131 elm-format issues
Sort by recently updated
recently updated
newest added

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...

bug

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...

discussion

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...

won't fix
documentation

Added note for Linux users, and an extra note for nixOS users.

documentation

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...

bug

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...

discussion

There's currently no way to write this: ```elm case [ maybeFoo, maybeBar, maybeBaz ] of [ Just foo , Just bar , Just baz ] -> ``` The list pattern...

discussion