erlfmt

Automated code formatter for Erlang source files

brewmacoslinux
Try with needOr install directly
Source

About

Automated code formatter for Erlang

Commands

erlfmt

Examples

Format a single Erlang file in-place$ erlfmt -w myfile.erl
Format all Erlang files in a directory recursively$ erlfmt -w src/
Check formatting without modifying files$ erlfmt --check myfile.erl