elm-format

elm-format formats Elm source code according to a standard set of rules based on the official Elm Style Guide (by avh4)

Elm-format Alternatives

Similar projects and alternatives to elm-format

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better elm-format alternative or higher similarity.

elm-format reviews and mentions

Posts with mentions or reviews of elm-format. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-27.
  • Using the Builder Pattern for Elm Components
    1 project | dev.to | 13 Mar 2022
    Keep in mind for the pipes, many in Elm, whether they’re using elm-format or not, will break the pipes to a different line in case there are many of them. For some, they find this more readable (I’m in that group). Let’s show an example of that using the same pattern to design a Paginator, the row of numbered buttons that allow you to move between pages of data.
  • Elm 2021, a year in review
    11 projects | dev.to | 27 Dec 2021
    9ᵗʰ - Aaron VonderHaar releases a new version of elm-format.
  • Setting up an Elm project in 2022
    11 projects | dev.to | 19 Dec 2021
    Unlike Javascript, Elm has an official Style Guide for how Elm code should be structured. In addition, some formatting is built into the language itself, such as requiring indents of four spaces. This removes a major point of contention within teams. In addition, the community has put together a wonderful tool called elm-format. Similar to Prettier, this utility can be used to ensure that all Elm code matches the official style guide. Unlike Prettier, there is no custom configuration, meaning once again that your team can focus on writing code instead of what kind of quotes to use.
  • Tips/Resources on starting with ELM
    6 projects | /r/elm | 11 Dec 2021
    Regarding user experience and tooling, I'd suggest you use an editor that is compatible with the elm language server: https://github.com/elm-tooling/elm-language-server VSCode is a good default choice. You'll also be interested in other toolings. elm-json (https://github.com/zwilias/elm-json) is great to simply install and uninstall dependencies. elm-format (https://github.com/avh4/elm-format) is a must since most active people in the community use it, and simply viewing your code being moved around on save is a good sign that you wrote something with a good syntax.
  • Artyom's Haskell toolbox — a long list of tools/libraries I use
    5 projects | /r/haskell | 2 Jan 2021
    Take for example the debate about 2 vs 4 spaces. People often (but not always) have very strong opinions about this, yet it is clear that this formatting choice will probably not be the dominant factor in the success of a project. A quick google search also reveals no scientific research in this field. Concerning surveys, I found this interesting (from a survey on 2 vs 4 spaces in elm-format) as one datapoint:
  • A note from our sponsor - WorkOS
    workos.com | 26 Apr 2024
    The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →

Stats

Basic elm-format repo stats
5
1,306
5.6
about 1 year ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com