Run Elvis linter for projects that are using Mix.
The package can be installed by adding mix_elvis
to your list of dependencies
in mix.exs
:
def deps do
[
{:mix_elvis, "~> 0.1.0"}
]
end
Install and run mix elvis
. You can configure Elvis via:
elvis.config
file (Erlangfile:consult/1
format):elvis
entry in project configuration (remember to use charlists instead of binaries)- application configuration (remember to use charlists as well)
See LICENSE.