Integration of Elsa into Flycheck.
Install flycheck-elsa from MELPA or MELPA
Stable and add the following to your
init.el:
(add-hook 'emacs-lisp-mode-hook #'flycheck-elsa-setup)The recommended way to use Elsa is with Eask or Cask.
(setq flycheck-elsa-backend 'cask) ; or 'easkThis method uses Eask and installs Elsa from MELPA.
- Make sure you have Eask installed and presented in your PATH environment.
- You need an Eask-file in your project, you can create it via
eask initcommand - Add
(depends-on "elsa")to your Eask-file - Run
eask install-deps
You are ready to go! Open an elisp file and M-x flycheck-mode!
We require that cask executable is usable from Emacs. You can test
this by evaluating (executable-find "cask"). If this returns nil,
you need to add your cask directory to exec-path. With the default
Cask installation evaluating the following snippet should be enough:
(push (format "/home/%s/.cask/bin/" (user-login-name)) exec-path)You can also use the amazing
exec-path-from-shell
to initialize your exec-path from your shell's $PATH.
Just use Flycheck as usual in your Cask projects.