Flycheck Elsa Save

Flycheck integration for Elsa---Emacs lisp static analyzer

Project README

MELPA CI

flycheck-elsa - Flycheck for Elsa

Integration of Elsa into Flycheck.

Installation

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)

How do I use this?

The recommended way to use Elsa is with Eask or Cask.

(setq flycheck-elsa-backend 'cask)  ; or 'eask

Eask

This method uses Eask and installs Elsa from MELPA.

  1. Make sure you have Eask installed and presented in your PATH environment.
  2. You need an Eask-file in your project, you can create it via eask init command
  3. Add (depends-on "elsa") to your Eask-file
  4. Run eask install-deps

You are ready to go! Open an elisp file and M-x flycheck-mode!

Cask

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.

Usage

Just use Flycheck as usual in your Cask projects.

Open Source Agenda is not affiliated with "Flycheck Elsa" Project. README Source: emacs-elsa/flycheck-elsa
Stars
32
Open Issues
3
Last Commit
1 year ago

Open Source Agenda Badge

Open Source Agenda Rating