Skip to content

Flycheck integration for Elsa---Emacs lisp static analyzer

Notifications You must be signed in to change notification settings

emacs-elsa/flycheck-elsa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Flycheck integration for Elsa---Emacs lisp static analyzer

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published