You can install this package from Melpa
M-x package-install RET flycheck-credo RET
Ensure that credo is installed in your project.
Then, in your init.el:
(eval-after-load 'flycheck
'(flycheck-credo-setup))
(add-hook 'elixir-mode-hook 'flycheck-mode)This package works with both elixir-ts-mode and elixir-mode.
You can tell flycheck-credo to call credo with the '--strict' argument.
(setq flycheck-elixir-credo-strict t)- @rrrene for credo.
- @lunaryorn for flycheck.