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 123 elm-format issues
Sort by recently updated
recently updated
newest added

Apparently elm-format currently always converts files to LF line endings. I'm kinda surprised that I don't see any record of anyone noticing or complaining about this before -- if anyone...

help wanted
discussion
platform: Windows

elm-format throwing errors inside a `node:12-alpine` image. Here's the error: ```docker build -t peter . Sending build context to Docker daemon 3.072kB Step 1/4 : FROM node:12-alpine ---> 1cbcaddb8074 Step...

elm-compiler does not accept tabs. It's possible that elm-format could accept tabs and convert them into spaces. The difficulty with doing this would be in defining how to interpret the...

discussion

E.g given the following snippet of code ```module Main exposing (main) import Element import Html type Book = Book String main : Html a main = Element.layout [] (Element.wrappedRow []...

Similar to https://github.com/avh4/elm-format/issues/173, unaligned `let` expressions should be fixed if possible: ```elm x = let a = 3 b=2 in a + b ``` Regarding ambiguity for nested let expressions,...

feature for developers

The current recommendation is to use `elmcast/elm-vim`. As of today, I'd not recommend using this plugin, because Elm 0.19 is still not supported for some things: https://github.com/ElmCast/elm-vim/issues/182 and other issues...

**Problem** All comments inside the import declaration block will get moved to the top of the block by elm-format. This is annoying because their may be cases where a user...

It would be great to have a `-v / --version` flag to print the `elm-format`'s version and exit, just as many other cli utilities already do. Mainly, this would be...

In the code `""""text"""`, it's hard to tell there's a typo. Formatting this as `"""\"text"""` even though it's not strictly necessary would help readability. (Note: double-quotes at the end of...

https://github.com/avh4/elm-format/pull/653 does not include `README.md` update. Particularly this part: > You must run elm-format from the directory that contains your elm.json (for Elm 0.19) or elm-package.json (for Elm 0.18), or...