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

I noticed in the code for package.elm-lang.org that @evancz wrote [a case-expression](https://github.com/elm/package.elm-lang.org/blob/6d817cde29ddc94271d4b1b9614aa55895c5027c/src/frontend/Main.elm#L176-L180) where each branch is a single line: ```elm case model.page of NotFound session -> session Search m ->...

discussion
0.9

Should single-line let declaractions (and possibly also top-level declaractions) be allowed? If so, what should the rules related to that be? - One proposal from https://github.com/avh4/elm-format/issues/507#issuecomment-426995482 is to only allow...

discussion
0.9

When writing conditionals, I frequently want to format using newlines. Say I have the following snippet from using elm/parser: ```elm chompWhile (\c -> c /= '[' && c/= '*' &&...

discussion
0.9
full operators list

We can't in general know the operator precedence because that would break the goal of being able to format any code consistently without having to have more info from the...

discussion
0.9

I'm excited about this project ! I was wondering if it would be possible to also support formatting of a block of text. Why would you need that you might...

discussion
feature for build tool authors
0.9

- https://serokell.io/blog/haskell-with-utf8

maintenance
0.9

In style-elements, the most common function is: ```elm el : List Attribute -> Element -> Element ``` Which leads to multiline usage of `

discussion
0.9

See rules here: https://spec.commonmark.org/0.29/#example-537