Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 447 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 447 Bytes

erl_tidy

Format your Erlang modules.

Use

Add the following to your rebar.config

{plugins, [{erl_tidy_prv_fmt, ".*", {git, "git://github.com/tsloughter/erl_tidy.git", {branch, "master"}}}]}.

And run:

$ rebar3 fmt

Run rebar3 help fmt to learn about formatting options.

You also may specify options in your rebar.config like so:

{fmt_opts, [
  {auto_list_comp, false},
  {keep_unused, true}
]}.