erlfmt
brew install erlfmt
v1.8.0
Apache-2.0
Automated code formatter for Erlang
12
30-day installs · #8048
39
90-day · #7965
135
365-day · #8392
455
★ GitHub stars · updated 5mo ago
Runtime dependencies
Build dependencies
GitHub topics
erlang
formatter
rebar3-plugin
Links
- https://github.com/WhatsApp/erlfmt
- GitHub: WhatsApp/erlfmt
- Brew formula source: Formula/e/erlfmt.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [
"rebar3"
],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [
"erlang"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Automated code formatter for Erlang",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:37:22+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "erlfmt",
"github_default_branch": "main",
"github_last_commit_at": "2026-02-26T17:10:35Z",
"github_readme_excerpt": "# erlfmt\n\nerlfmt is an opinionated Erlang code formatter. By automating the process of\nformatting the code, it frees your team up to focus on what the code does,\ninstead of what it looks like.\n\nerlfmt is feature complete and released as version 1.0\nThis means only backwards compatible changes and bug fixes can be adopted without very serious consideration.\nWe do not want to put users in the position where they need to reformat code without a very good reason.\n\n## Before\n\nRemember reading code before erlfmt and having arguments with co workers :(\n\n```erl\nwhat_is(Erlang) -\u003e\ncase Erlang of movie-\u003e[hello(mike,joe,robert),credits]; language-\u003eformatting_arguments end\n.\n```\n\n## After\n\nNow, with the new erlfmt, code is readable and you get along with your co workers :D\n\n```erlang formatted demo2\nwhat_is(Erlang) -\u003e\n case Erlang of\n movie -\u003e [hello(mike, joe, robert), credits];\n language -\u003e no_more_formatting_arguments\n end.\n```\n\n*Disclaimer: erlfmt is just a code formatter, not a solution to all life\u0027s problems.*\n\n## Table of Contents\n\n - [Comparison with other Erlang formatters](#comparison-with-other-erlang-formatters)\n - [Usage](#usage)\n - [Line length](#line-length)\n - [Design principles](#design-principles)\n - [Manual interventions](#manual-interventions)\n - [Respecting original format](#respecting-original-format)\n - [Ignoring Formatting](#ignoring-formatting)\n - [Join the erlfmt community](#join-the-erlfmt-community)\n\n## Comparison with other Erlang formatters\n\n| |erlfmt |rebar3_format |steamroller |erl_tidy |\n|--- |--- |--- |--- |--- |\n|File Types |.erl, .hrl, .app, .app.src, .config, .script, .escript |.erl, .hrl\t ",
"github_repo": "WhatsApp/erlfmt",
"github_stars": 455,
"github_topics": [
"erlang",
"formatter",
"rebar3-plugin"
],
"homepage": "https://github.com/WhatsApp/erlfmt",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 12,
"installs_365d": 135,
"installs_90d": 39,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "Apache-2.0",
"llm_generated_at": null,
"llm_model": null,
"name": "erlfmt",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 8048,
"rank_365d": 8392,
"rank_90d": 7965,
"raw_hash": "0d1e724f47ab4c34",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/e/erlfmt.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": null,
"version_stable": "1.8.0",
"versioned_formulae": [],
"why_use_this": null
}