An Emacs flymake handler for syntax-checking CSS source code
using csslint
.
If you choose not to use one of the convenient packages in
Melpa and Marmalade, you'll need to add the
directory containing flymake-css.el
to your load-path
, and then
(require 'flymake-css)
. You'll also need to install
flymake-easy.
Add the following to your emacs init file:
(require 'flymake-css)
(add-hook 'css-mode-hook 'flymake-css-load)
Beware that csslint is quite slow, so there can be a significant lag between editing and the highlighting of resulting errors.