Skip to content
Emacs flymake syntax-checker for css using csslint
Emacs Lisp
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


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.

Steve Purcell's blog // @sanityinc on Twitter

Something went wrong with that request. Please try again.