WhatsApp / eqwalizer
- пятница, 5 августа 2022 г. в 00:32:53
A type-checker for Erlang
A type-checker for Erlang.
Use OTP 25
Download the elp
binary for your system from https://github.com/WhatsApp/eqwalizer/releases
On Mac you will probably get the following message when trying to run the executable the first time: "elp cannot be opened because the developer cannot be verified.". To solve this, go to Preferences > Security and Privacy and add an exception. Alternatively, you can build elp from source.
Add eqwalizer_support
dependency and eqwalizer_rebar3
plugin
to your rebar3 project definition (see below)
From the project directory run:
elp eqwalize <module>
to type-check a single moduleelp eqwalize-all
to type-check all src
modules in the projectAdding eqwalizer_support
and eqwalizer_rebar3
:
{deps, [
{eqwalizer_support,
{git_subdir,
"https://github.com/whatsapp/eqwalizer.git",
{branch, "main"},
"eqwalizer_support"}}
]}.
{project_plugins, [
{eqwalizer_rebar3,
{git_subdir,
"https://github.com/whatsapp/eqwalizer.git",
{branch, "main"},
"eqwalizer_rebar3"}}
]}.
Please refer to the FAQ document for answers to some common questions, including:
eqWAlizer is Apache licensed.