macOS
brew install erlfmtlocal Homebrew formula metadata
安装
brew install erlfmtlocal Homebrew formula metadata
概览
Automated code formatter for Erlang
历史
erlfmt is WhatsApp's opinionated Erlang code formatter, packaged as a CLI and rebar3 workflow for teams that want consistent Erlang formatting.
The README describes erlfmt as an automated formatter that lets teams focus on code behavior rather than formatting debates. The project reached version 1.0.0 on June 29, 2021 and states that it is feature complete, with only backwards-compatible changes and bug fixes considered without serious review.
erlfmt's main adoption path is as a rebar3 project plugin, adding a rebar3 fmt task and CI-friendly --check mode. The README also documents standalone escript use and editor integrations.
Users add erlfmt to project_plugins in rebar.config, run rebar3 fmt to format a project, or run the escript directly against Erlang source globs. Later releases kept pace with OTP language changes, including OTP 27 sigils and triple-quoted strings and OTP 28 comprehension features.
For package managers, erlfmt is valuable because it is a deterministic formatter with a deliberate stability promise after 1.0. That makes it suitable for CI checks and repository-wide formatting without a constantly shifting style baseline.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
PROJECT_ROOT/rebar.config可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
erlfmt | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/WhatsApp/erlfmt
安装元数据
| 软件包键 | brew:erlfmt |
|---|---|
| 版本 | 1.8.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/erlfmt |
| 主页 | https://github.com/WhatsApp/erlfmt |
| 仓库 | https://github.com/WhatsApp/erlfmt |
| 上游文档 | https://github.com/WhatsApp/erlfmt#readme |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/WhatsApp/erlfmt/archive/refs/tags/v1.8.0.tar.gz |
| 依赖 | erlang |
| 构建依赖 | rebar3 |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | erlfmt |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.