Awesome
SLIME Critic
SLIME extension for Lisp Critic.
Lisp Critic scans your code for instances of bad Lisp programming practice.
Install
ℹ️ Please consider using SLIME :star:, that comes with this extension preinstalled.
Dowload lisp-critic
via Quicklisp: (ql:quickload :lisp-critic)
.
Load swank
and add this repository path to swank::*load-path*
, in your Lisp compiler init file (~/.sbclrc if using SBCL):
(require :swank)
(push #p"/home/marian/src/lisp/slime-critic/" swank::*load-path*)
In Emacs, add this repository path to load-path
and add slime-critic
to slime-contribs
in ~/.emacs
init file, like:
(push "/home/marian/src/lisp/slime-critic" load-path)
(add-to-list 'slime-contribs 'slime-critic)
(slime-setup)
Use
M-x slime-critic-critique-buffer
: critique the current buffer.M-x slime-critic-critique-file
: critique a file.
License
GPL