Skip to content
Automatically format Erlang code.
Branch: master
Clone or download
tsloughter Merge pull request #3 from vladimir-vg/expose-cli-and-config-file-opts
set erl_tidy opts using cli params or config opts
Latest commit 8a2fdab Mar 2, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src set erl_tidy opts using cli params or config opts Mar 1, 2018
.gitignore initial commit Apr 3, 2015
LICENSE initial commit Apr 3, 2015
README.md set erl_tidy opts using cli params or config opts Mar 1, 2018
rebar.config initial commit Apr 3, 2015
rebar.lock initial commit Apr 3, 2015

README.md

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}
]}.
You can’t perform that action at this time.