erlfmt icon indicating copy to clipboard operation
erlfmt copied to clipboard

An automated code formatter for Erlang

Results 21 erlfmt issues
Sort by recently updated
recently updated
newest added

Ran against this command: markdownlint *.md doc/*.md --disable MD013 MD034 MD010 MD051 MD024 MD029 See a detailed description of the rules is available at https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md

CLA Signed

It turns out that when running dialyzer through rebar, - it would not by default report unknown types. `erlfmt` (after a series of refactorings such as `abstract_form()` -> `abstract_node()`) ended...

CLA Signed

I've got a project where I want to automatically format the code when compiling, so I've added erlfmt as a provider hook. I didn't have any issues with this flow...

Thanks for the very useful project! I opened the following pull request (which may or may not be accepted) to use `erlfmt` on a new RabbitMQ project - https://github.com/rabbitmq/khepri/pull/28 I...

This way the return type matches `error_info()` This is an alternative fix for https://github.com/WhatsApp/erlfmt/pull/324

CLA Signed

Here's a formatting issue I've encountered a few times. The distilled code with default settings is the following: ```erlang %% No 100-col overflow: oneliner. ok() -> #{k => v, k...

Currently the [standalone erlfmt executable](https://github.com/WhatsApp/erlfmt#escript) exits with code 0 when formatting fails because the code being formatted has a syntax error in it. That is the same exit code which...

Allows roundtrip conversion from erlfmt:read_nodes() to syntax tools (or erl_parse) and back to erlfmt:format_nodes().

CLA Signed

This allows you to format syntax trees that have been synthesized outside erlfmt without forcing the caller to add "text" annotations for all literals in order to print them.

CLA Signed

cc @ilya-klyuchnikov

enhancement
help wanted