scrooloose/syntastic — pull request #357 by rbrown (2012-09-19 15:34:16+00:00)
Title: less: Add a linter script to avoid compiling files.

Using lessc to check a less file results in a NameError if the file references a
variable defined in a file that inherits it. This commit adds a new linter that
just calls the less parser instead. The variable g:syntastic_less_use_less_lint
should be set to use the linter over lessc.

`--`

I have sent a [patch](https://github.com/cloudhead/less.js/pull/931) upstream to add a -c option to lessc which I think has been accepted, but I've no idea when they're planning a release, so I thought I'd just share this.