I'm a newbie with elixir, and I'm trying to configure my text editor (vim + ale as lint engine) with the credo linter for elixir, but seems like there is no way to have it installed on the system. Its documentation just say how to install it on your project as a dependency. Am I missing something?
From the readme:
Using Credo as stand alone
If you do not want or are not allowed to include Credo in the current project you can also install it as an archive:
git clone [email protected]:rrrene/credo.git
cd credo
mix deps.get
mix archive.build
mix archive.install
Important: You have to install bunt as well:
git clone https://github.com/rrrene/bunt
cd bunt
mix archive.build
mix archive.install
You will now be able to invoke credo as usual through Mix with mix credo. This option is especially handy so credo can be used by external editors.
In 2021, just install it with:
$ mix escript.install hex credo
Then run it with:
$ credo
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With